The mcrypt extension is missing. Please check your PHP configuration.

3 posts / 0 new
Last post
#1 Sun, 12/15/2013 - 05:09
josse34

The mcrypt extension is missing. Please check your PHP configuration.

Hi! I'm newbies and have this alert into MySQL : The mcrypt extension is missing. Please check your PHP configuration. When i update script of MySQL into Virtualmin, i obtain this error :

Upgrading phpMyAdmin to version 4.1.0 .. PHP module mcrypt is recommended .. Installing package php5-mcrypt .. Installing package(s) with command yum -y install php5-mcrypt .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.fr.planethoster.net * extras: centos.mirror.fr.planethoster.net * updates: centos.mirror.fr.planethoster.net Setting up Install Process No package php5-mcrypt available. Error: Nothing to do .. install failed! Installing package php-mcrypt .. Installing package(s) with command yum -y install php-mcrypt ..

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.fr.planethoster.net * extras: centos.mirror.fr.planethoster.net * updates: centos.mirror.fr.planethoster.net Setting up Install Process No package php-mcrypt available. Error: Nothing to do .. install failed! Installing package php53-mcrypt .. Installing package(s) with command yum -y install php53-mcrypt ..

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.fr.planethoster.net * extras: centos.mirror.fr.planethoster.net * updates: centos.mirror.fr.planethoster.net Setting up Install Process No package php53-mcrypt available. Error: Nothing to do .. install failed! .. failed to install!

Configuring webserver PHP settings .. .. already done. Downloading http://prdownloads.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-4.1... .. Downloading http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.0/php... .. Downloading http://freefr.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.0/php... (4.64 MB) .. Received 1024 bytes (0 %) Received 476 kB (10 %) Received 951 kB (20 %) Received 1.39 MB (30 %) Received 1.86 MB (40 %) Received 2.32 MB (50 %) Received 2.78 MB (60 %) Received 3.25 MB (70 %) Received 3.71 MB (80 %) Received 4.18 MB (90 %) Received 4.64 MB (100 %) .. download complete. phpMyAdmin installation complete.

Somebody know how to solve this problem?

Thanks!!

Sun, 12/15/2013 - 12:55
andreychek

Howdy,

You don't actually need the mcrypt module for phpMyAdmin, and it'll work fine without that.

The issue though is that mcrypt doesn't come with CentOS, you'd need to get it from another source, such as the EPEL repository.

However, you'll be able to manage your databases just fine without installing that.

-Eric

Mon, 12/16/2013 - 02:57
josse34

Thanks andreychek.

Your comment is very helpful for me!

As well, if i want install mcrypt, do you recommend to follow this topic : http://stackoverflow.com/questions/17109818/install-php-mcrypt-on-centos6

Thanks!