MCrypt – phpmyadmin: cannot load mcrypt extension
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.
Tags: fedora core 7, godaddy virtual dedicated server, mcrypt, phpmyadmin, vds, yum
March 3rd, 2009 at 1:45 am
I’m relatively new at setting up a dedicated server. Found your article here and have what may be a silly question. When you say “simply write these commands as root” what do you mean?
I can get my way around SSH a bit, but don’t understand your “as root” tip. Thanks for any help.
March 3rd, 2009 at 11:51 am
You must log in as root (super user) and type those commands in a ssh shell.
To check if you are root type this command in a shell: “whoami”
If the answer is “root” , you are root.
If not, type “su -” , insert your password, and you’ll become root.
March 3rd, 2009 at 6:03 pm
It worked! Awesome. Thanks so much!
May 3rd, 2009 at 6:27 pm
thank you! this was helpful
June 2nd, 2009 at 10:13 pm
Hi, good post. I have been wondering about this issue,so thanks for posting.
June 2nd, 2009 at 11:40 pm
Hi, good post. I have been wondering about this issue,so thanks for posting. I’ll definitely be coming back to your site.
September 28th, 2009 at 7:19 am
Thanks, Worked
September 28th, 2009 at 1:21 pm
Thank you. Worked like a charm!!. No issues after all.
August 16th, 2011 at 9:46 pm
Rootserver…
MCrypt – phpmyadmin: cannot load mcrypt extension | Blogging for fun and profit…