I am, perhaps, on a fool's errand. My wish is to run both PHP 5.x and PHP 7.2 on the same VPS. I don't want to make a wholesale change to all accounts because I need to be able to test compatibility of custom WordPress code and installed plugins for all sites with the latest version of PHP first.
I have enabled the MultiPHP Manager feature using EasyApache4. I've also added a handler for PHP 7.2 to the installation. I switched one account/cPanel to the PHP 7.2 handler and, when I tried to access the site, I received this error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
SOLVED - PHP installation appears to be missing the MySQL extension
Here is the phpinfo from the account for which I've activated PHP 7.2:
- Removed -
Here is the phpinfo for an account running the server default version, PHP 5.6:
- Removed -
What isn't clear from the provided solutions is whether I can run multiple instances of MySQL on the same server and, if not, what would be required to make this happen.
Any guidance on this inquiry will be greatly appreciated.
I have enabled the MultiPHP Manager feature using EasyApache4. I've also added a handler for PHP 7.2 to the installation. I switched one account/cPanel to the PHP 7.2 handler and, when I tried to access the site, I received this error:
I have found two other threads that are peripherally or directly related to this error:Your PHP installation appears to be missing the MySQL extension which is required by WordPress
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
SOLVED - PHP installation appears to be missing the MySQL extension
Here is the phpinfo from the account for which I've activated PHP 7.2:
- Removed -
Here is the phpinfo for an account running the server default version, PHP 5.6:
- Removed -
What isn't clear from the provided solutions is whether I can run multiple instances of MySQL on the same server and, if not, what would be required to make this happen.
Any guidance on this inquiry will be greatly appreciated.
Last edited by a moderator: