[resolved] running phpmysqladmin under IIS |
Veteran
|
I do not think this is a PhpED issue, but rather some coincidence of events after installing PhpED. The instance of PHP that is installed by PhpED is used by PhpED's built-in SRV web server. There is no reason why one cannot use this PHP installation with IIS too, but in my own setup I prefer using a separate instance of PHP. I suspect that applies to your setup too.
The error message you get suggests that the MySQL extension is not loaded for the PHP instance used with IIS. The easiest way to check this, is to create a PHP script in your \inetpub\wwwroot\phpmyadmin folder that calls phpinfo():
Run this script via IIS and via SRV (with the 8080 port) and compare the output. My guess is that the output for SVR will show a correctly installed MySQL extension (and therefore PhpMyAdmin works), and no MySQL extension for the IIS output (and therefore the MySQL error). If this is indeed the problem, you need to enable the MySQL extension in your php.ini -- check the phpinfo output for the location of your php.ini. I hope this helps |
||||||||||||||
_________________ |
|
Right you are! Coincidence of events.
Looking at phpinfo() revealed that I wasn't loading a php.ini file at all when served via IIS! I believe that happened during the PhpED install, rather than due to phpMyAdmin, but didn't make itself known until I restarted my machine and IIS lost the configuration it was running with. An environment variable that directed PHP to load a specifc INI file had somehow, mysteriously, had a '~' character appended to it. I removed the '~' character, restarted my machine, and now both IIS and PhpED are happily running phpMyAdmin and other MySQL apps. Thank you! Mark Morrell --Old School Developer --PHP Newbie |
||||||||||||
|
Veteran
|
I am glad my response steered you in the right direction
|
||||||||||||
_________________ |
[resolved] running phpmysqladmin under IIS |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by