Updating MariaDB on Directadmin + Cloudlinux Alt-PHP

Desperados

Verified User
Joined
Jan 2, 2017
Messages
37
Hello,
We are Using Directadmin + Cloudlinux + Alt-PHP + MariaDB 10.4.8

Now Directadmin Custombuild Provided Update MariaDB 10.4.8 to 10.4.11

If i will do this upgrade , does Apt-PHP versions detect databsase server ? or i should do something and websites get database error ?

according to this article we should always recompile php after mysql upgrade.:
https://help.directadmin.com/item.php?id=240

This is about directadmin main php, what about Cloudlinux Alt-PHP ?
Best Regards,
 
I don't know about Cloudlinux, as I don't use it. However the article id 240 is outdated. It is no longer needed to recompile PHP after upgrade of MySQL or MariaDB. It was only before when still using MySQLi, but now MySQLi extension is disabled as default in PHP 7, so it is no longer needed.

If you have multiple PHP versions and also have PHP 5.x, then it might still be neded to recompile PHP. I would not now. I only use one PHP version (PHP 7.3).
 
Back
Top