Skip to content
Follow Us:
Call or Text 239-513-1960
▣ JOIN REMOTE SESSION →
Microsoft Windows  /  Naples Computers Blog

Installing PHP on IIS

August 23, 2016 Microsoft Windows
Installing PHP on IIS
← Back to Blog

There has been numerous post on the IIS forum where people have difficulty installing PHP on Windows. There are many reasons for this. However the main issue is that people try to do the installation manually and any manual step is prone to error. It is not a bad idea to do the installation manually but I would suggest to leave that to an advanced user who knows PHP well and has successfully configured it many times. For novice user or people who are just starting using PHP, I am going to talk about an easy way to install PHP on Windows and IIS. This article applies to user running IIS from Windows XP to Windows 7.

Let me introduce you to Microsoft Web Platform Installer. Let’s call this WPI in short. WPI is a single stop shop for all the major component installations for IIS. Once you have WPI installed, go to ‘Web Platform Section’ and click on ‘Frameworks and Runtimes’. Click on ‘customize’. You can see PHP listed as one of the ‘Runtimes’. Select it and say install. And you are done. Yes, that’s it. Amazed!!! But trust me it is as simple as this.

Now let’s go in detail and see what happens when you say ‘Install’. WPI does the following things for you:

Okay, you got FastCGI but what about all the handler mapping and other things. Who does that? This is done by PHP MSI. This is good enough reason to use the PHP MSI. Let me now explain what PHP MSI is doing:

So now you know, how helpful WPI is in setting up PHP on your Windows machine with IIS. I would advice people to start using WPI for doing the PHP installation. It’s less time-consuming, less error-prone and gets you up and running in seconds.

Before I end this post, I would like to tell few important things:

Need Help With Your Computer?

Naples Computers serves Collier & Lee County — same-day repair, remote support, and small business IT.

Get Help Today