Page 1 of 1

PHPMyAdmin stopped after the PHP downgrade

Posted: Fri Mar 08, 2019 1:02 pm
by azkerm
Hi There,

We have installed VestaCP on an Ubuntu server 18.04.2 LTS and been working perfectly after fine tuning all the errors. However, when we moved an some WordPress sites and found out one site was throwing errors due to php being higher version. So my colleague downgraded the PHP version from the latest to 5.6 and PHPMyadmin stopped working since then.

Code: Select all

ls -l /etc/alternatives

lrwxrwxrwx 1 root root  15 Mar  2 11:03 php -> /usr/bin/php5.6
lrwxrwxrwx 1 root root  19 Mar  2 11:07 php-cgi -> /usr/bin/php-cgi5.6
lrwxrwxrwx 1 root root  23 Mar  2 11:07 php-cgi-bin -> /usr/lib/cgi-bin/php5.6
What I want is to fix the phpmyadmin as well as keep the older version of php to support the wordpress until the user upgrades it to the latest version. How can fix this?

Re: PHPMyAdmin stopped after the PHP downgrade

Posted: Wed Mar 13, 2019 8:11 am
by plutocrat
This probably isn't the answer you want to hear, but you'd probably do better making the one Wordpress site work with PHP 7.2 or 7.3

PHP 5.6, 5.7 and 7.0 are no longer supported. https://secure.php.net/supported-versions.php

You'll notice that Wordpress will actually run on earlier versions of PHP: https://wordpress.org/about/requirements/

So I'm guessing its one of the plugins which is not working. Try disabling plugins until you find which one it is. Try upgrading plugins to current versions.