Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phpmyadmin Cannot load mysql extension
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
rgc
n00b
n00b


Joined: 24 Apr 2002
Posts: 13
Location: Switzerland

PostPosted: Thu Jun 01, 2006 10:58 pm    Post subject: phpmyadmin Cannot load mysql extension Reply with quote

I've searched the forums and although there are topics on this problem none solve it for me.

When I login to phpmyadmin it tell me:

Cannot load mysql extension. Please check your PHP configuration.

In my /etc/make.conf I have:

Code:
USE="mysql mysqli pcre session hal apache2 -gnome asf svg win32codecs gif samba unicode tcltk perl alsa cups foomaticdb ppds dvd dvdr dvdread"


emerge -pv dev-lang/php gives:

Code:
[ebuild   R   ] dev-lang/php-5.1.4  -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar +cdb -cgi -cjk +cli +crypt -ctype +curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob +exif -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm +gmp -hardenedphp -hash -hyperwave-api -iconv -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -kerberos +ldap -libedit -mcve -memlimit +mhash -ming -msql -mssql -mysql +mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -pcntl +pcre -pdo -pdo-external -pic -posix -postgres -qdbm +readline +recode +reflection -sapdb -sasl +session -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid +spell +spl -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer +truetype +unicode -vm-goto -vm-switch -wddx +xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip +zlib 6,214 kB


Notice the '-mysql'.

Anyone know why it is turning off mysql for the emerge?

SW versions installed:

Code:
dev-lang/php-5.1.4
dev-db/phpmyadmin-2.8.0.4
dev-db/mysql-4.1.20


I can access my mysql DB's from phpmyadmin so can I just ignore this warning?

Many thanks for any help,
Roy
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Fri Jun 02, 2006 11:15 am    Post subject: Reply with quote

you may have
Code:
dev-lang/php -mysql

in your /etc/portage/package.use
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
rgc
n00b
n00b


Joined: 24 Apr 2002
Posts: 13
Location: Switzerland

PostPosted: Fri Jun 02, 2006 4:11 pm    Post subject: [SOLVED] phpmyadmin Cannot load mysql extension Reply with quote

davjel wrote:
you may have
Code:
dev-lang/php -mysql

in your /etc/portage/package.use


That was it. Many thanks davjel. How it got there I do not know.
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