PHP Startup: Unable to load dynamic library "/usr/lib/php/modules/mysql.so"

PHP Startup: Unable to load dynamic library "/usr/lib/php/modules/mysql.so"

am 08.03.2011 11:47:10 von Scott Wen

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)


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP Startup: Unable to load dynamic library "/usr/lib/php/modules/mysql.so"

am 08.03.2011 12:06:47 von Nagendra Prasad

--90e6ba53a23c1e190b049df69e84
Content-Type: text/plain; charset=ISO-8859-1

Are you getting any error msg while installing it. Try to get a new copy of
php-mysql from internet and install it.



On Tue, Mar 8, 2011 at 4:17 PM, Scott Wen wrote:

> 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)
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--90e6ba53a23c1e190b049df69e84--