I am using MariaDB10, and it appears that when cPanel updated this time (it doesnt always happen, and I have seen this on our other server using Plesk), it breaks the symlink.
It was showing
mysqli.so -> /opt/alt/php55/etc/mysql10./mysqli.so
When it should have been:
mysqli.so -> /opt/alt/php55/etc/mariadb10/mysqli.so
So the below fixes it (but maybe only until next update :P )
cd /opt/alt/php55/usr/lib64/php/modules
unlink mysql.so
ln -s /opt/alt/php55/etc/mariadb10/mysql.so /opt/alt/php55/usr/lib64/php/modules/mysql.so
unlink mysqli.so
ln -s /opt/alt/php55/etc/mariadb10/mysqli.so /opt/alt/php55/usr/lib64/php/modules/mysqli.so
unlink pdo_mysql.so
ln -s /opt/alt/php55/etc/mariadb10/pdo_mysql.so /opt/alt/php55/usr/lib64/php/modules/pdo_mysql.so
Just make sure that the symlinks are actually broken, and your directory structure may be different.
You would also need to check the other directories
/opt/alt/php53/usr/lib64/php/modules
/opt/alt/php54/usr/lib64/php/modules
/opt/alt/php56/usr/lib64/php/modules
Hope this helps someone

Leave a comment: