problems installing mysql_PDO

Guillermo

Verified User
Joined
May 20, 2006
Messages
95
Location
The Netherlands
I have installed the PDO extension for mysql with:
pecl install pdo
pecl install pdo_mysql

The installation succeeded except the addition of extension=pdo.so to the php.ini file. I've added the extension to php.ini manually, but when i restart apache i get a "http dead but subsys locked" error. When the extensions are removed from php.ini, apache starts normally.

What am i doing wrong?

Edit: in the httpd error log i found the following lines:
PHP Warning: Module 'PDO' already loaded in Unknown on line 0
/usr/sbin/httpd: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: undefined symbol: php_pdo_declare_long_constant
 
Last edited:
Back
Top