How To Install easyPHP on Windows with IIS

December 13, 2005


Well, I'm not going to go through the setup of easyPHP because it's fairly straight forward.  What I want to address are the issues pertaining to installations on pre-existing IIS Windows Servers.

The first issue I had was a pre-existing installation of mySQL 5 which I thought I could configure properly to work with easyPHP (ep).  Well, ep did not want to use that  and it wanted to use what it had  been packaged with, mySQL 4.x.  Okay, so uninstall both and start over again.

The second thing that took me the longest to figure out is that by default, IIS was being disabled with the installation of ep.  So, in order to fix this you have to enable the "IIS Admin Service" in your services console.  then, you must re-enable "WWW Publishing" in your services console.  Now, IIS is back up and running.

But now the Apache service was not starting, which meant that mySQL was not runnning and obviously neither was php.  You must go into the Apache httpd.config file (which is accessible through the file system or the ep interface) and change it to run on port 8080, so as not to interfere with IIS.  This is of course unless you don't want to do the opposite and have IIS run on port 8080 and leave Apache alone.

Now you have PHP/mySQL running in tandem with IIS. 

Subscribe to my mailing list