Page 1 of 1

Using PHP/MySql with IIS 6

Posted: Mon Dec 22, 2008 9:35 am
by Sheridan
HELP!
I am a refugee from Apache trying to use PHP with IIS. I have PHP installed and running on IIS 6. This is good. Not so good is the fact that phpinfo() does not recognize MySql and I cannot generate error messages.

Anyone know where I can look for help?

Re: Using PHP/MySql with IIS 6

Posted: Mon Dec 22, 2008 9:40 am
by John Cartwright
I'm not very familiar with IIS6, however I know in PHP5+ mysql is not enabled by default. You will have to open up your php.ini and uncomment the mysql extension. Then restart IIS and mysql should be enabled (assuming the extension exists on your server).

To have error messages show up, you will need to increase the error_reporting in your php.ini. I would always recommend setting it to atleast E_ALL during development.