PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so'
| From: | Scott Wen | Date: | Tue, 08 Mar 2011 10:47:10 +0000 |
| Subject: | PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-47709@lists.php.net to get a copy of this message | ||
Hi,
I installed mysql and php. Its OK. After I install php-mysql, the following messages come out.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - libmysqlclient.so.15: 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.15: 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/pdo_mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0
The file of libmysqlclient.so.15 is located in /usr/lib/mysql and this folder is in ld.so.conf.
But libmysqlclient.so.15 works fine in DBD::mysql and command line "mysql"
(OS- fedora linux 8, mysql-5.0.45, php-5.2.6, php-mysql-5.2.6)