Symtoms:

1) MySQL extension is enabled under Plesk > Subscriptions > example.com > PHP Selector > PHP 5.6;

2) Checking from SSH shows that mysql extension is enabled in PHP selector:

# selectorctl --list-extensions --version=5.6 | grep mysql
+ mysql
+ mysqli
- mysqlnd
- nd_mysql
- nd_mysqli
- nd_pdo_mysql
+ pdo_mysql


3) Checking directly for cloudlinux PHP 5.6 shows that mysql extension is not loaded:

# /opt/alt/php56/usr/bin/php-cgi -m | grep mysql

4) mysql library exists on the server and it is enabled:

# ls -la /opt/alt/php56/usr/lib64/php/modules |grep mysql
lrwxrwxrwx 1 root root 36 Jul 5 13:55 mysql.so -> /opt/alt/php56/etc/mysql5.5/mysql.so
# cat /opt/alt/php56/etc/php.d.all/mysql.ini
; Enable mysql extension module
extension=mysql.so

5) The site shows the following error:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress

6) OS is Cloudlinux


Cause:


Cloudlinux PHP misconfiguration.

Contact our technical team regarding this case.

Дали Ви помогна овој одговор? 0 Корисниците го најдоа ова како корисно (1 Гласови)