The mcrypt extension is missing. Check your PHP configuration

I just completed the tutorial located at https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu , correcting several other errors with which I came across this way and I was stuck with one last mistake. When I enter phpMyAdmin, a huge red error appears at the bottom of the screen saying: "The mcrypt extension is missing. Check your PHP configuration." I installed everything listed in the Ubuntu 13.10 tutorial via putty.

+46
ubuntu phpmyadmin linuxmint
Mar 28 '14 at 19:32
source share
7 answers

Try the following:

sudo apt-get install php5-mcrypt sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available sudo php5enmod mcrypt sudo service apache2 restart 
+147
Mar 29 '14 at 10:59
source share

I followed the exact guidance with OP on the digital ocean. The only steps that are missing are

 sudo php5enmod mcrypt sudo service apache2 restart 

and error after restarting apache service

+24
Jul 29 '14 at 15:52
source share

Adding this answer to anyone who is facing this issue with Linux Mint 17 .

Just installed the LAMP stack and got this error. The mycrpt.ini file has already installed the / etc / php 5 / mods-available directory. All that had to be done was to run the command to enable the module:

 sudo php5enmod mcrypt 

Restart apache after that, and you will be well off.

+6
Jul 27 '14 at 1:55
source share

I just stuffed a symlink to the Apache part in the php configuration. Platform: Xubuntu 14.04 LTS.

More details:

  • cd / etc / php5 / apache2 / conf.d
  • sudo ln -s ../../ mods-available / mcrypt.ini 20-mcrypt.ini
  • ls -l to see if there is a new link
  • sudo apache2ctl restart

NTN.

+1
May 10 '14 at 19:50
source share

For those using the LEMP stack (nginx and php5-fpm), this solution

 apt-get install php5-mcrypt php5enmod mcrypt service php5-fpm restart service nginx restart 

(of course, run each with sudo)

+1
Jul 18 '15 at 11:53 on
source share

Try the following:

 sudo apt-get install mcrypt php5-mcrypt; php5enmod mcrypt; service apache2 restart 
0
Sep 03 '14 at 15:32
source share

I am on Mac OS X Yosemite using Terminal and fixing this error

the requested mcrypt php extension is missing on your system

by executing the following commands:

 brew update brew upgrade brew tap homebrew/dupes brew tap josegonzalez/homebrew-php brew install php54-mcrypt 
0
May 21 '15 at 18:03
source share



All Articles