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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
> On Wed, Feb 1, 2012 at 6:56 PM, Darryle Steplight <dsteplight@xxxxxxxxx> 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



-- 
----------------------------------------------
"May the Source be with you."

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux