Click to See Complete Forum and Search --> : phpMyAdmin error: cannot load mysql extension


dthatsme
10-20-2008, 02:07 PM
Hi all!

I installed php and mysql with IIS. I also installed my phpMyAdmin. I'm getting an error that says "Cannot load mysql extensions".

I have tried everything I have researched to solve this problem--

Changed all of the "\" to "/"
Removed the ";" from the extension files associated with mysql.
Changed extension_dir to extension_dir = "E:/php/ext"
Restarted IIS and the computer itself.

I'm stumped.

I attached a screencap of the phpMyAdmin page error I'm getting.

TIA!

Phill Pafford
10-20-2008, 02:36 PM
Looks like your missing some extensions, do you have a info.php file? should be with phpMyAdmin I think.

If not just create this simple file and navigate to it.


<?php

phpinfo();

?>


save is as something like info.php

Open it up and look for the MySQl extension listed, if it's not listed you need to look in the php.ini file for something like:


;extension=mysql


to un-comment this remove the ;


extension=mysql


Looks like you also need the extension mcrypt.

After you make each change you need to restart apache as well.

Also double check to see if MySQL server is running

This might have some other info to point you in the right direction, Link (http://www.ozzu.com/programming-forum/tutorial-how-install-php-and-mysql-iis-t56303.html)

dthatsme
10-20-2008, 02:40 PM
Looks like your missing some extensions, do you have a info.php file?

Looks like you also need the extension mcrypt.

After you make each change you need to restart apache as well.

Also double check to see if MySQL server is running



I checked the info.php file and mysql is listed there.
I am not running an Apache server. Just IIS
MySQL is running.

Phill Pafford
10-20-2008, 03:09 PM
After doing a little more searching I saw THIS (http://www.microsoft.com/technet/archive/interopmigration/linux/mvc/miglamp.mspx?mfr=true), but I don't know if this helps