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