Reputation: 2018
I have designed a PHP based website which needs to run on a local server. Unfortunately I have developed this on a WAMP server using Apache. The machine on which this website will be placed on only supports the IIS server and I am not allowed to install Apache on this this machine.
How do I run PHP code on an IIS server?
Upvotes: 2
Views: 236
Reputation: 11344
Here's how I got PHP 5.3 running on IIS 6: http://www.howtoadvice.com/PHPIIS
Upvotes: 0
Reputation: 13581
You can get it installed and include the right infrastructure (IIS, WinCache, and FastCGI, and URL Rewrite) with a single click using Web Platform Installer:
To install PHP 5.2 use: http://www.microsoft.com/web/gallery/install.aspx?appid=PHP52
To install PHP 5.3 use: http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53
Upvotes: 1
Reputation: 863
With IIS 7, a lot of the apache/iis gaps have been closed. Like mod_rewrite is available in IIS 7 (http://www.iis.net/download/urlrewrite)
Upvotes: 0
Reputation: 17272
See this link: http://php.iis.net/
99% of stuff is compatible. There can be some problems though (for example if you use mod_rewrite, or some file operation functions behave a little differently).
Upvotes: 1