• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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