View previous topic :: View next topic |
Author |
Message |
admyn n00b
Joined: 14 Jul 2006 Posts: 4
|
Posted: Fri Jul 14, 2006 9:11 am Post subject: Cannot load mysql extension. Please check your PHP configura |
|
|
PLEASE HELP ME! IF ANY IDEAS CONTACT ME PLEASE IN ICQ: 336544160
I NEED HELP NOW! OR WRITE ANSWER HERE!
PS: in php.ini 'extension=mysql.so'
extension_dir = /usr/lib/php4/lib/php/extensions/
localhost ext-active # cd /usr/lib/php4/lib/php/extensions/
localhost extensions # ls -l
total 68
-r-xr-xr-x 1 root root 67032 Mar 14 12:20 mysql.so
I AM COMPLETLY NEWB! |
|
Back to top |
|
|
admyn n00b
Joined: 14 Jul 2006 Posts: 4
|
Posted: Fri Jul 14, 2006 9:47 am Post subject: |
|
|
localhost ~ # php -i | grep -i mysql
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php4/lib/php/extensions/mysql.so' - /usr/lib/php4/lib/php/extensions/mysql.so: undefined symbol: PL_perl_destruct_level in Unknown on line 0
Configure Command => './configure' '--prefix=/usr/lib/php5' '--sysconfdir=/etc' '--cache-file=./config.cache' '--enable-cli' '--disable-cgi' '--with-config-file-path=/etc/php/cli-php5' '--with-config-file-scan-dir=/etc/php/cli-php5/ext-active' '--without-pear' '--disable-bcmath' '--without-bz2' '--disable-calendar' '--disable-ctype' '--without-curl' '--without-curlwrappers' '--disable-dbase' '--disable-exif' '--without-fbsql' '--without-fdftk' '--disable-filepro' '--disable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '--without-hwapi' '--without-iconv' '--without-informix' '--without-kerberos' '--disable-mbstring' '--with-mcrypt' '--disable-memory-limit' '--without-mhash' '--without-ming' '--without-msql' '--without-mssql' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--disable-pdo' '--without-pgsql' '--disable-posix' '--with-pspell' '--without-recode' '--disable-simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '--disable-sockets' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--disable-xmlreader' '--disable-xmlwriter' '--without-xmlrpc' '--without-xsl' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--without-flatfile' '--with-gdbm' '--without-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--without-xpm-dir' '--with-gd' '--without-mysqli' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite' |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Fri Jul 14, 2006 11:28 am Post subject: |
|
|
Did you emerge php and mysql with USE='mysql php' ? |
|
Back to top |
|
|
admyn n00b
Joined: 14 Jul 2006 Posts: 4
|
Posted: Fri Jul 14, 2006 11:42 am Post subject: |
|
|
fleed wrote: | Did you emerge php and mysql with USE='mysql php' ? |
no... and what can I do now? say me what can I do.. |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Fri Jul 14, 2006 12:17 pm Post subject: |
|
|
Code: | nano -w /etc/make.conf
|
Add mysql php to what you have in your USE flags
Code: | emerge -pv php
emerge php
|
And that should do it! |
|
Back to top |
|
|
Jochus Tux's lil' helper
Joined: 14 Jul 2004 Posts: 77 Location: Aalter (Belgium)
|
Posted: Wed Aug 02, 2006 10:07 pm Post subject: |
|
|
Same error, tried your solution but it didn't work.
in /var/log/apache2/error.log
=>
Code: | PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/mysql.so' - /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/mysql.so: undefined symbol: PL_perl_destruct_level in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/php_mysql.dll' - /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Aug 03 00:03:59 2006] [notice] Apache configured -- resuming normal operations |
Seems like some trouble with my dll files? How can I help that out? _________________ "Vrouwelijk schoon kan je nooit precies in cijfers achter de komma uitdrukken,want juist de afronding maakt het zo mooi" |
|
Back to top |
|
|
|