PHPMyAdmin mcrypt extension is missing

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;

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.

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.

Gary Woodfine

Freelance Full Stack Developer at
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Affiliate Disclaimer

Disclosure: Please note that some of the links included in the blog posts are affiliate links, which means I will earn a commission if you decide to make a purchase.

I only include affiliate links to products, services and companies that I have personal experience and have actually used. I only recommend them because they are helpful and useful, not because of the small commissions I make if you decide to buy something.

Please do not spend any money on these products unless you feel they are relevant, suitable and will help you achieve your goals.

Buying anyone of these products and the commisions earned will not make me an overnite multi millionaire, but they will help to cover the hosting costs and compensate for the countless hours and effort I put in to create meaningful and valuable free content I provide to help others succeed.

You've also undoubtedly noticed that I also use various advertising networks - unless of of course you're using an Ad blocker, this is also an attempt to reduce my monthly deficit I experience in providing free relevant, valuable and on occassion insightful content for the benefit of others.

I only really make some money if people click on the ads, unless of course you consider 1c per 1000 impressions real money!

Bear in mind just how many impressions I need to make before I can cover my £20 hosting costs a month!

If you are using an adblocker and guilt stricken you can of course donate using any of the buttons below, but I won't be holding my breath.

Buy me a coffeeBuy me a coffee