468,309 Members | 1,274 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,309 developers. It's quick & easy.

phpmyadmin error "Cannot load mysql extension"

Hi,
I have been trying to get a php, mySQL install to work and talk
together on Windows XP SP2 with IIS. So far I installed and received a
responce from php(V5 - manual install) though the

<?php phpinfo(); ?>

command which prints out the current settings of the php install.

I then installed mySQL complete setup (V5) and ran the server instance
config wizard. The, through the command line, set up a databse tables
that i required. In windows services mySQL is running however when
trying to use phpmyadmin i get the error "Cannot load mysql extension".

I have enabled the php_mysql.dll in the php.ini file and also, as
suggested in other posts, copied the libmysql.dll and php_mysql.dll to
both the system and system32 folders.

is this an issue with IIS and php 5 and mySQL 5 and should i uninstall
php 5 and use version 4 instead?

any help would be greatly appreciated.

Mark

May 16 '06 #1
1 5821
ma*********@gmail.com wrote:
Hi,
I have been trying to get a php, mySQL install to work and talk
together on Windows XP SP2 with IIS. So far I installed and received a
responce from php(V5 - manual install) though the

<?php phpinfo(); ?>

command which prints out the current settings of the php install.

I then installed mySQL complete setup (V5) and ran the server instance
config wizard. The, through the command line, set up a databse tables
that i required. In windows services mySQL is running however when
trying to use phpmyadmin i get the error "Cannot load mysql extension".

I have enabled the php_mysql.dll in the php.ini file and also, as
suggested in other posts, copied the libmysql.dll and php_mysql.dll to
both the system and system32 folders.

is this an issue with IIS and php 5 and mySQL 5 and should i uninstall
php 5 and use version 4 instead?
No, php5 and mysql are friends.

You must have made a mistake elsewhere.

A few 'popular' mistakes:
1) Have a few php.ini's around and edit the wrong one.
Check: phpinfo() tells you which path it is using to load php.ini

2) Is mysql working allright?
Check: Can you connect to it from commandline.

3) Do NOT store your dll's everywhere.
Understand where they should be.
(Check in php.ini for extensiondir)

Regards,
Erwin Moller

any help would be greatly appreciated.

Mark


May 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Andreas Poller | last post: by
reply views Thread by John Oliver | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.