Archive for January, 2009

MCrypt - phpmyadmin: cannot load mcrypt extension

Sunday, January 11th, 2009

Using phpmyadmin frontend to manage your database is straightforward. Just put in the address bar of your browser your server ip address followed by /phpMyAdmin (for example: http://192.168.1.1/phpMyAdmin .

Using it on my Godaddy Virtual Dedicated Server (VDS) showed a little warning: “cannot load mcrypt extension”

What is mcrypt?
Mcrypt is an encryption library which supports various algorithms like DES, TripleDES, Blowfish, TWOFISH, 3-WAY, SAFER-SK64, SAFER-SK128, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes.

How to install mcrypt under Fedora Core 7 ?
Very easy, simply write these commands as root:

yum install libmcrypt
yum install php-mcrypt*
yum install php-mhash*
service httpd restart

Reload your phpMyAdmin page, and the warning won’t show again.

Godaddy Virtual Dedicated Server

Friday, January 9th, 2009

Like me, hundred of persons were wasting their money with 10 or 20 different shared hosting accounts at godaddy.
Once one figures out how much a VPS - Virtual Private Server (or VDS - Virtual Dedicated Server) costs, the following question arise: why am I paying $100 per month for 20 different shared hosting accounts when I can purchase a Virtual Dedicated Server for a cheap price?!?

The decision involves an analysis of dedicated server pros and cons.

VDS pro:
- unlimited website hosting (just realize how to use Apache Virtual Hosts - VHosts)
- very large bandwidth
- very large disk space
- ssh, ftp, mysql, phpmyadmin, … access
- unlimited root access
- no bad neighbours (spam, casino online or porn sites)

VDS cons:
- you must achieve security yourself
- you are responsible about all aspects of your server

I decided to switch from shared hosting to VDS and I am very happy with it!

If you need help in choosing your godaddy package or simply need additional informations, leave a comment!