• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue after installing ART PHP5.

P

Poof

Guest
After installing php-5.0.4-13.rhel3.art, php-mysql-5.0.4-13.rhel3.art, and mysql-server-4.1.21-2.rhel3.art I am now experiencing an issue where I cannot load the mysql.so module for any php pages.

The error I get is: (If I just type "php" in shell... If I visit the page, it says that connectdb() isn't available)

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0

Any ideas on this? This is driving me bonkers!
 
All right...

What was causing this issue is that when I installed MySQL 4.1 from the ART RPMs, it made the /usr/lib/mysql mysqlclient files, but it didn't symlink those to /usr/lib. After I created those syms, it all worked fine.

Code:
[root@server1 mysql]# php
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysqli.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0

[root@server1 mysql]# pwd
/usr/lib/mysql
[root@server1 mysql]# ln -s /usr/lib/mysql/libmysqlclient_r.so.14.0.0 /usr/lib/libmysqlclient_r.so.14
[root@server1 mysql]# ln -s /usr/lib/mysql/libmysqlclient.so.14.0.0 /usr/lib/libmysqlclient.so.14
[root@server1 mysql]# php

[root@server1 mysql]#
 
Back
Top