Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- phpMyAdmin 'cannot load mysql extension'
November 9, 2005, 6:00 am
rate this thread
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 config.inc.php 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):
I would much appreciate any help,
Re: phpMyAdmin 'cannot load mysql extension'
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.