Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot load mysql extension. Please check your PHP configura
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
admyn
n00b
n00b


Joined: 14 Jul 2006
Posts: 4

PostPosted: Fri Jul 14, 2006 9:11 am    Post subject: Cannot load mysql extension. Please check your PHP configura Reply with quote

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! :roll: :cry: :cry: :cry:
Back to top
View user's profile Send private message
admyn
n00b
n00b


Joined: 14 Jul 2006
Posts: 4

PostPosted: Fri Jul 14, 2006 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Fri Jul 14, 2006 11:28 am    Post subject: Reply with quote

Did you emerge php and mysql with USE='mysql php' ?
Back to top
View user's profile Send private message
admyn
n00b
n00b


Joined: 14 Jul 2006
Posts: 4

PostPosted: Fri Jul 14, 2006 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Fri Jul 14, 2006 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jochus
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2004
Posts: 77
Location: Aalter (Belgium)

PostPosted: Wed Aug 02, 2006 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum