Page 1 of 1

PhpMyAdmin error

Posted: Tue Dec 08, 2009 2:37 am
by Fuse
Hi all,

So I was trying to install phpMyAdmin, I'm able to get it working when I run the index.php fiile from within nusphere phped, but when I try to access the file from my browser( IE8 / FF), I get the "Cannot load mysql extension. Please check your PHP configuration. - Documentation" error. I spent the last 5 hours trying to look for a fix, one of the things I tried was to set the PHPRC enviroment variable to point to the php.ini file that nusphere PHPed is using. Prior to doing that, phpinfo() giving me different results:

BEFORE PHPRC was set to nusphere's php.ini file:

PHPinfo when run from IE8/firefox said that the php.ini file in use was from c:/windows/php.ini and there no mention of MySQL on the page. PHPinfo when run from Nusphere shows MySQL as active

AFTER PHPRC was set to nuspheres php.ini file:

PHPinfo in my browser shows that it is now loading the same php.ini file as the one nusphere was using, however there is STILL no mention of MySQL.
One thing I noticed was that phpinfo in nusphere states that the Server API in use was CGI/FastCGI, but from my browser its Apache 2.0 Handler.

I am running:
Nusphere PHPed 5.9
Apache 2.2
Windows 7 X64

If anyone knows what the hell is going on I'd GREATLY appreciate it, thanks in advance!