LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem configuring pdo/php (https://www.linuxquestions.org/questions/linux-software-2/problem-configuring-pdo-php-666145/)

braclayrab 08-28-2008 04:55 PM

Problem configuring pdo/php
 
For some reason php won't read pdo_mysql.so properly despite that it is where it's supposed to be... I think I am going to try recompiling php but I don't know why that would help. Anyone have any ideas?
Thanks in advance!

[/]: php -i | grep pdo
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0
Configure Command => './configure' '--mandir=/usr/local/share/man' '--enable-pdo=shared' '--enable-gd-native-ttf' '--enable-shared' '--enable-zip' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-sockets' '--enable-mbstring' '--with-apxs2=/usr/sbin/apxs' '--with-gd' '--with-ttf' '--with-kerberos' '--with-iconv' '--with-curl' '--with-mcrypt' '--with-mhash' '--with-zlib' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-gettext' '--with-mysql=shared' '--with-mysqli=shared' '--with-sqlite=shared' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-openssl' '--without-pear'
[/]: ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
total 3276
-rwxrwxrwx 1 root root 120780 Aug 27 15:27 mysql.so
-rwxrwxrwx 1 root root 402368 Aug 27 15:27 mysqli.so
-rwxrwxrwx 1 root root 257607 Aug 27 15:27 pdo.so
-rwxrwxrwx 1 root root 122768 Aug 27 15:27 pdo_mysql.so
-rwxrwxrwx 1 root root 1391571 Aug 27 15:27 pdo_sqlite.so
-rwxrwxrwx 1 root root 1025091 Aug 27 15:27 sqlite.so


All times are GMT -5. The time now is 02:21 AM.