Hello! Can you open a support ticket
https://cloudlinux.zendesk.com/hc/en-us/requests/new so we can take a closer look at your system? You can post the ticket number here and we'll link this thread to it. Thank you.
Regards,
Sergey Khristich
Marketing coordinator CloudLinux
Not really no. I can reproduce this issue on over 50 servers, including brand new ones that have only had CL and cPanel installed - so it isn't something within our servers that you need to look into. You should take a closer look at your own system.
Here is an example - brand new server with only CL and cpanel installed - I open EA4 and I can see a bunch of example profiles - all of them say "Cloudlinux" inside a little blue tag. There are no other profiles listed. If I pick any one of them and go to "customize" - every version of PHP from PHP51 to PHP73 is available to install.
What I find strange is that cpanel don't seem to know that you are replacing their EA4 profiles with your own? - or that when CL is instaleld EA4 automatically switches to using the CL repo for the packages - Is that what's happening? And if so, why don't cpanel know that? It's not a problem for me because I want to offer PHP 5.2 to a small number of customers without using ALT packages and CL Selector. This has been working great, so up til now I've been very happy.
It's just now that we've upgraded to MySQL 5.7 - during the upgrade process, as I mentioned earlier in this thread, an error occurs...
Just to clarify, during the MySQL upgrade from 5.6 to 5.7, there is always an error stating that the .so for PHP 5.2 is missing and it suggests you install ea-php52-php-mysql5.7.x86_64
ERROR : mysql.so is not found. Please install ea-php52-mysql5.7 package
ERROR : mysql.so is not found. Please install ea-php52-mysql5.7 package
ERROR : alt-ea-php52 reconfiguration is failed
So I rerun EA4 and install ea-php52-mysql5.7
I notice that there are no available MySQL extensions in EA4 for PHP 5.2
If I run /usr/local/bin/ea-php52 -m|grep mysql I get...
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php52/root/usr/lib64/php/modules/mysql.so' - /opt/cpanel/ea-php52/root/usr/lib64/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php52/root/usr/lib64/php/modules/mysqli.so' - /opt/cpanel/ea-php52/root/usr/lib64/php/modules/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php52/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php52/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Is there a way around this issue?
So - while I can install 5.2 and also ea-php52-mysql5.7 - this doesn't provide any actual extensions and so there is no MySQL connectivity available for that version. I also mentioned that it was working fine with MySQL 5.6 and we haven't changed anything other than simply upgrading to MySQL 5.7 and re-running EA4 to include ea-php52-mysql5.7
I can reproduce this issue on any server with CL6 or CL7 and they are all standard stock installations.