Force phpMyAdmin to use the latest PHP version instead of 5.6

Force phpMyAdmin to use the latest PHP version instead of 5.6

When you logged into phpMyAdmin, did you notice that in the web server settings (on the right) your phpMyAdmin uses PHP version 5.6.X? You should know that all versions of phpMyAdmin 4.8.X use PHP version 5.6.X. The future version of phpMyAdmin 5.0.X will support PHP 7.1 and PHP 7.2. Can you change the current PHP version used by phpMyAdmin? Currently not!

If you attempt to uninstall PHP 5.6.X you will get the following message: “WordPress, phpMyAdmin is dependent on this package. Please uninstall WordPress, phpMyAdmin first before uninstalling this package”, as you can see in the screenshot below.

phpMyAdmin dependent on PHP 5.6

You may be wondering why the PHP version is incorrect via phpMyAdmin, but you have to remember that phpMyAdmin uses the internal version of PHP which is not the same PHP as the one used by Apache. To clarify: phpMyAdmin has an internal PHP application. It’s separate from the PHP versions you use with Apache. This is the general rule: it doesn’t matter if you have phpMyAdmin on a private hosting or on Synology Nas, you cannot change the internal PHP version.

phpmyadmin uses php 5.6

Let’s all be patient because the phpMyAdmin team will make the necessary updates to the 5.0.X version that will include PHP 7.1 and PHP 7.2. Rumors say it should all be ready before the end of 2019.

Last Updated on by Marius Bogdan Lixandru

Do NOT follow this link or you will be banned from the site!