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: , , , , ,

9 Responses to “MCrypt – phpmyadmin: cannot load mcrypt extension”

  1. Jeff Welsh Says:

    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.

  2. admin Says:

    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.

  3. Jeff Welsh Says:

    It worked! Awesome. Thanks so much!

  4. rcmarz Says:

    thank you! this was helpful

  5. KrisBelucci Says:

    Hi, good post. I have been wondering about this issue,so thanks for posting.

  6. KrisBelucci Says:

    Hi, good post. I have been wondering about this issue,so thanks for posting. I’ll definitely be coming back to your site.

  7. Justin Says:

    Thanks, Worked

  8. Julio Says:

    Thank you. Worked like a charm!!. No issues after all.

  9. Webhosting Says:

    Rootserver…

    MCrypt – phpmyadmin: cannot load mcrypt extension | Blogging for fun and profit…

Leave a Reply