WINDOWS2003+IIS7 Express using fastcgi to run php_php tutorials

Source: Internet
Author: User
Want to run PHP in Windows 2003, but also save memory, it is very embarrassing thing, considering IIS7.5 Express can run on the WIN2003, not only can fastcgi support PHP, and comes with rewrite components, Simply change the rule rules on the Web. config.


So after downloading the IIS7.5 Express, install, but also need to configure the ApplicationHost.config, first to find out where this file, if it can be found in the "My Documents" iis7express directory, that is it, Otherwise, it should be in the IIS7 Express installation directory.

1, first modify: Defaultdocument festival, join










2, find FastCGI Festival.







3, find Handlles, join

It is especially important to note that this sentence is best added to the front, that is, in the following first sentence, to avoid being the other handle preemptive treatment.

In the above configuration, the C:phpphp-cgi.exe part is replaced with the location of the php-cgi.exe in its own PHP folder.

4, in the configuration section, directly modify the site information, or directly with the Appcmd.exe add site for adding sites.

5. Locate the installation folder such as WordPress, create a Web. config file, and under the configuration section, add the gzip compression rule.


6, also in the Web. config, WordPress rewrite complete Web. config file content is as follows:



















This is fully configured and then, in the IIS7 Express directory, locate IISExpress.exe, double-click the run directly, or use the command line to execute the specified load site.
Iisexpress.exe/site: ' Site name 1 '
Iisexpress.exe/site: ' Site name 2 '
By visiting, you will find that the access speed is much faster than using Apache under Windows, and running less than one nginx, the overall memory consumption is also much less.

http://www.bkjia.com/PHPjc/372037.html www.bkjia.com true http://www.bkjia.com/PHPjc/372037.html techarticle want to run PHP in Windows 2003, but also save memory, it is very embarrassing thing, considering that IIS7.5 Express can run on the WIN2003, not only in fastcgi way to support PHP, and bring the R ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.