Re: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo_mysql' ....
Darryle Steplight <dsteplight <at> gmail.com>
2012-02-02 00:20:54 GMT
I have version usr/lib64/mysql/libmysqlclient.so.18 instead of
usr/lib64mysql//libmysqlclient.so.15 . I coped over the file into
usr/lib64/libmysqlclient.so.18, because that file didn't exist in that
path, I created the sym link but no luck. Few fixes are better than no
fixes for sure.
On Wed, Feb 1, 2012 at 6:44 PM, Matijn Woudt <tijnema <at> gmail.com> wrote:
> On Wed, Feb 1, 2012 at 6:56 PM, Darryle Steplight <dsteplight <at> 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
(Continue reading)