PhpMyAdmin configuration issue

Solved
Thorim Posted messages 32 Status Membre -  
 None -
Hello everyone!

I installed an Apache server, MySQL, and PHP without any issues, and I even checked if they were all working, and there's no problem, everything is functioning.

The issue arose when I wanted to install PhpMyAdmin: I placed the folder at the root of my web server as intended, but when I try to launch PhpMyAdmin (http://localhost/phpMyAdmin/), I get the following error:
"PHP cannot load the mysql extension, please check your PHP configuration - Documentation"

And when I look at the documentation, I read that apparently it's because PhpMyAdmin cannot load an extension whose name is probably "mysql.so" or "php_mysql.dll". And I can't find more information about it...

Could someone tell me how to get it to work?

For your information, I am using phpMyAdmin-2.8.1

Thank you in advance!

Thorim
Configuration: Windows XP Internet Explorer 6.0

22 réponses

  • 1
  • 2
Draggi
 
Hello,

search in the installation directory of your APACHE server for the php.ini or php4.ini or php5.ini file.
In the file, search for the string mysql.so which you should find commented out with a semicolon (;) at the beginning of the line:

;extension=mysql.so

remove the ;, save the file and restart apache.

Normally, this should work.

Draggi
8
  • 1
  • 2