phpMyAdmin - ERROR?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
marto_4
Forum Newbie
Posts: 4
Joined: Fri Feb 08, 2008 2:52 pm

phpMyAdmin - ERROR?

Post 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:
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: phpMyAdmin - ERROR?

Post 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.
(#10850)
User avatar
marto_4
Forum Newbie
Posts: 4
Joined: Fri Feb 08, 2008 2:52 pm

Post 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!
Post Reply