I spent lot of time on browsing over the internet and knowing how to install PHP on IIS, and found good solutions, but none were actually working for me. So I hope my solution will be a very brief one, and would help somebody save lot of time.
What I prefer, and did, was as below:
- Download Web Developer Suite
- Install Web Developer Suite
- Open the Web Developer Suite after installation, and click on Disable Startup for Apache. You should see the MySQL and IIS W3 as Running
- Then you should be able to run the php files on your IIS wwwroot folder. However, if any error such as "Service Unavailable" or Page not able to be displayed occurs, then check the Application Pool if it is running or stopped. Also make sure you add .php extension from Home Directory, and select the file "php5isapi.dll". Also go to "Web services" and add a new web service as "PHP" and select the file php5isapi.dll from your php directory, and save.
- You have PHP installed in few steps, Restart IIS, and you should have it working.
No comments:
Post a Comment