phpMyAdmin 'cannot load mysql extension'

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
when I try to open phpMyAdmin administration page I got this error:

'Cannot load mysql extension, please check your PHP configuration'

I cannot sort out what's the source of the problem, cause:
1. In the php.ini file I commented out the line  
'extension=php_mysql.dll' and properly set the path to extension  
directory: extension_dir = "c:\php\ext\"
2. MySQL is running
3. In the file I set $cfg['PmaAbsoluteUri'] to  
http://localhost/phpMyAdmin/ and $cfg['servers'][$i]['extension'] to mysql
4. I tried also copying php_mysql.dll and libmysql.dll modules to system  
folders: system i system32 but it didn't work.

I'm using following versions of software (under Windows XP):
PHP 5.0.5
phpMyAdmin 2.6.4-pl3
Apache 2.0.54
MySQL 5.0.15

I would much appreciate any help,

Re: phpMyAdmin 'cannot load mysql extension'

lithne wrote:
Quoted text here. Click to load it
I had the same problem and did everything you described here, plus: I  
donwloaded the full PHP package as a zip file and used the DLLs from  
that package. That solved it. If it doesn't, it may be that there are  
two PHP.INI files on your system (one in the systemfolder and one in the  
PHP folder), and you may be editing the wrong one.

Good luck.

Site Timeline