Page 1 of 1

phpMyAdmin - ERROR?

Posted: Fri Feb 08, 2008 3:02 pm
by marto_4
Windows 32bit
Apache 2.2.3
PHP 5.2.5
MySQL 5.0.18
I installed the phpMyAdmin and when I try to see is it working I got the message phpMyAdmin - ERROR
cannot load MySQL extension, please check PHP Configuration

I found a solvation in their website
1.20 I receive the error "cannot load MySQL extension, please check PHP Configuration".

To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.

But I can't understand it... Where to find these files? Where to download this software package "PHP - MySQL"? I'm not sure my database is working :? :roll:

Re: phpMyAdmin - ERROR?

Posted: Fri Feb 08, 2008 3:37 pm
by Christopher
Check phpinfo() to see if the mysql extension is actually loaded. It looks like it isn't. Just having MySQL installed is not enough -- PHP will not auto-discover it. You need to specify in php.ini what extensions are loaded.

Posted: Sat Feb 09, 2008 3:15 am
by marto_4
hmm... My php was working before... but now you're right It can't opens index.php
neither to read phpinfo(); :(
I'll start from the beggining :(
Thanks!