怎么让IIS支持PHP

来源:百度知道 编辑:UC知道 时间:2024/05/05 06:22:10
怎么让IIS支持PHP,或者PHP环境怎么配置,希望高手指点.最好是能够远程协助一下 我的QQ是416089846 长期隐身 谢谢

php 安装包中就存在安装方法。下面资料是在 %php root%\install.txt 文件中提到的。我通常都按照这个方法配置 IIS + php ,白试百灵。当然 php 离开 MySQL 就不精彩了,有时间你在配置一个 MySQL 出来,就很够用了。 WinNT + IIS + php + MySQL 虽然在使用上没有 Linux + Apache + php + MySQL 来的高速,可是做为调试环境还是非常方便的。

IIS 4.0+ (CGI)
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
2. Start the Microsoft Management Console (may appear as 'Internet Services Manager', either in your Windows NT 4.0
Option Pack branch or the Control Panel->Administrative Tools under Windows 2000).
3. Right click on your Web server node (will most probably appear as 'Default Web Server'), and select 'Properties'.
4. Under 'Home Directory', click on the 'Configuration' button. Add a new
5. entry to the Application Mappings; Use the path to php.exe as the Executable, supply .php as the extension, leave
'Method exclusio