IIS6 AND PHP5 on w2k3

| |
[不指定 2007/08/25 15:02 | by Else ]
1.download php and unzip to c:\php
  - also create c:\php\sessions
2.add c:\php to you path
  -right click mycomputer,properties,advance,env variables
2.On IIS Manager add web service extension
  -name: php isapi
  -req files: c:\php\php5isapi.dll
3.Now let iis know what to do with .php
 -On iis Manager,right click Web Sites, properties, home directory tab, configuration button, add button
    executable: c:\php\php5isapi.dll
    extension: .php
    limit to: GET,POST,HEAD
4. rename php.ini-recommended to php.ini
 you can copy php.ini to c:windows or modify the registry to look for php.ini in c:\php
  to use the registry create a php.reg file with the following inside. after this just double click. do not put the lines.
-------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\PHP]
"IniFilePath"="C:\\php"
-------------------------------------------------

5. modify php.ini with
short_open_tag = On
extension_dir = "c:\php\ext"
cgi.force_redirect = 0

6. the web sites are going to be using the default pool. this runs under network service. go to c:\php and give the network service  read& execute, list folder content,read
 -go to c:\php\sessions and add write and modify access network service

作者:Else 's Blog
地址:http://www.aixq.com/post/812/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
  • 中查看更多“IIS6 AND PHP5 on w2k3”相关内容
  • 中查看更多“IIS6 AND PHP5 on w2k3”相关内容
  • 中查看更多“IIS6 AND PHP5 on w2k3”相关内容
  • 中查看更多“IIS6 AND PHP5 on w2k3”相关内容
  • 中查看更多“IIS6 AND PHP5 on w2k3”相关内容
  • 中查看更多“IIS6 AND PHP5 on w2k3”相关内容

  • 最后编辑: Else 编辑于2007/09/06 13:34
    Tags: ,
    代码 程序 编程 | 评论(0) | 引用(0) | 阅读(1744)
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    昵称   密码   游客无需密码
    网址   电邮   [注册]
                   

    验证码 不区分大小写