mcrypt
extension is missing. Please check your PHP configuration.
This is the error message that was displayed with setting installing phpMyAdmin
a new ubuntu 14.04 server.
The error message displayed was;
mcrypt extension is missing. Please check your PHP configuration.
It turns out that when you use TaskSel utility for installing doesn’t automatically install all the PHP compoments by default. So when you run the following commands;
$ sudo apt-get install tasksel $sudo tasksel install lamp-server $sudo apt-get install phpmyadmin
If you start phpmyAdmin you may see a page similar to the below
Apparently this is a known issue, in that the mcrypt library has been installed in the wrong directory and needs to be moved. The followin commands will move the mcrypt component to the right location.
$ cd /etc/php5/mods-available $ sudo ln -s ../conf.d/mcrypt.so $ sudo php5enmod mcrypt $ sudo service apache2 restart
After the above commands have been completed, all you need to do is refresh your phpmyadmin page, login again. You’ll notice the error message will disappear and you can continue to use phpmyadmin as per normal.
- Gridsome – How to use netlify functions - November 7, 2020
- Gridsome – How to add Twitter Card to posts - September 21, 2020
- Gridsome – How to create a plugin - September 15, 2020