iis_php5.3 Environment Configuration

Source: Internet
Author: User

Installation order
1.IIS
2.FastCGI
3.php5.3
4.wincache
5.memcached
6.ZendLoader


(1) fastcgi->php
Open the C:\WINDOWS\system32\inetsrv\fcgiext.ini file and add the following configuration under [Types]:
============================================================================
[Types]
php = PHP
[PHP]
ExePath = "D:\php\php-cgi.exe"
Maxinstances = 20
Queuelength = 1000
Instancemaxrequests = 10000
Environmentvars = php_fcgi_max_requests:10000
Requesttimeout = 500
Activitytimeout = 900
============================================================================

(2) PHP configuration
Open the semicolon "in front of the following common extensions for D:\php\php.ini
"; Remove:
============================================================================
Extension_dir = "D:\php\ Ext "
Fastcgi.impersonate = 1
cgi.rfc2616_headers = 1
memory_limit = 512M
Date.timezone = Asia/shanghai
============================================================================

(3) Open gzip
Open compressed application files and compress static files, services, properties, 1.iis-> website
2. Stop IIS and open C:\WINDOWS\system32\inetsrv\MetaBase.xml.
3. Modify the parameters under "/lm/w3svc/filters/compression/deflate" and "/lm/w3svc/filters/compression/gzip" respectively.
============================================================================
Hcdynamiccompressionlevel= "1"
hcfileextensions= "htm
Html
Txt
Css
Js
jpg
hcscriptfileextensions= "ASP
Php
Dll
Exe
============================================================================

(3) Open php zendloader extension
1. Extract the ZendLoader.dll and place it into the D:\Program files\phpweb\php\ext\
2. Last added in php.ini
============================================================================
[Zend.loader]
Zend_loader.enable=1
Zend_loader.disable_licensing=0
Zend_loader.obfuscation_level_support=3
Zend_loader.license_path=
zend_extension= "D:\Program Files\phpweb\php\ext\zendloader.dll"
============================================================================

iis_php5.3 Environment Configuration

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.