开发者

PHP on an IIS server

开发者 https://www.devze.com 2023-02-03 09:28 出处:网络
I have designed a PHP based website whi开发者_如何学Cch 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 pla

I have designed a PHP based website whi开发者_如何学Cch 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?


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).


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


http://php.iis.net/

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)


Here's how I got PHP 5.3 running on IIS 6: http://www.howtoadvice.com/PHPIIS

0

精彩评论

暂无评论...
验证码 换一张
取 消