Config PHP5.6 on WIN7 IIS

来源:互联网 发布:2016年服务贸易数据 编辑:程序博客网 时间:2024/06/01 09:07

1. first  install IIS on WIN7 , after installed , see below





2. install PHP 5.6 from php.org  http://php.net/downloads.php . I installed C:\php5.6

3. rename php.ini-development  to php.ini . remove comment for below setting

extension_dir = "c:\php5.6\ext"

cgi.force_redirect = 0

cgi.fix_pathinfo=1

fastcgi.impersonate = 1

date.timezone =Asia/Shanghai

4. open IIS admin console 

remove default website, add new website , "处理程序映射" , add new map


5 set  website properties


    

0 0