Home >Backend Development >PHP Tutorial >Windows2008RC2 IIS configure php running environment
1: Download a php manager and install it.
2: CGI and FastCGI settings in
fastcgi.impersonate = 1 fastcgi.logging = 0 cgi.fix_pathinfo=1 cgi.force_redirect = 0
Then click Register new php version; select the physical location of php-cgi; other configurations It is similar to the configuration under Apache, but it is displayed in a graphical interface;
3: The last thing to say is url rewrite, you need to download the URL Rewrite Moduel, the official download address: http://www.iis.net/ learn/extensions/url-rewrite-module/using-the-url-rewrite-module
There are x86 (32-bit) and x64 (64-bit), generally download the 64-bit one. (For 32-bit, it is said that you need to enable 32-bit applications in the application pool => Advanced Settings)
After downloading and installing, url rewrite will be displayed at the same level as the site php manager; you can use Import Rules to directly import the htaccess file of apache , the conversion supports IIS rewrite, very user-friendly;
4: Test, everything is OK;
Reference: http://www.php.net/manual/zh/install.windows.iis7.php
. /www.myhack58.com/Article/sort099/sort0100/2013/40240_3.htm
Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces the configuration of PHP running environment in Windows2008RC2 IIS, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.