Posts Tagged ‘yum’

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.