Re: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo_mysql' ....

From: Date: Wed, 01 Feb 2012 23:44:56 +0000
Subject: Re: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo_mysql' ....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-316450@lists.php.net to get a copy of this message
On Wed, Feb 1, 2012 at 6:56 PM, Darryle Steplight <dsteplight@gmail.com> wrote: > Hello Everyone, >    My name is Darryle. I've installed PHP 5.3.9 on my CentOs box and > some numerous modules via yum. Some of those modules are  PDO, > PDO_MYSQL and PDO_SQLITE. However, my PHP configuration is not > recognizing my PDO_MYSQL module.  I can verify that these modules > exists by looking in my /etc/php.d/ folder.  I'm also including the > PDO and PDO_MYSQL extensions in my httpd.conf file after my > extension_dir=/path/to/modules/ declaration.  When I run php -i | grep > pdo this is what I see > > > ]# php -i | grep pdo > PHP Warning:  PHP Startup: Unable to load dynamic library > '/usr/lib64/php/modules/php_pdo' - /usr/lib64/php/modules/php_pdo: > 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/lib64/php/modules/php_pdo_mysql' - > /usr/lib64/php/modules/php_pdo_mysql: 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/lib64/php/modules/mysql.so' - libmysqlclient.so.15: cannot open Hi, This seems to be an common error with CentOS 64 bit. If you google for it there are plenty of people experiencing the same issue, and there are probably a few fixes for it. One of the first hits I got was a user who did: ln -s /usr/lib64/mysql/libmysqlclient.so.15 /usr/lib64/libmysqlclient.so.15 And it solved his problem. So you can try that, and if that fails, try Google! - Matijn

« previous php.general (#316450) next »