Home >Backend Development >PHP Tutorial >安装PHP的步骤

安装PHP的步骤

WBOY
WBOYOriginal
2016-06-23 14:28:511031browse

 1> 参考:http://www.cnblogs.com/zengxiangzhan/archive/2010/03/05/1679286.html

2> 下载 Microsoft Web Platform Installer.exe 来 下载

http://windows.php.net/downloads/releases/php-5.3.6-nts-Win32-VC9-x86.msi
,为了让 IIS 支持 FastCGI

IIS 5.1 和 IIS 6.0 安装FastCGI : fcgisetup_1.5_x86_rtw.msi

3> 下载 php-5.3.6-nts-Win32-VC9-x86.msi 并且安装。注意:在步骤 “Choose Items to Install” 时,选择安装PHP的全部功能

4> 新建测试文件:phpinfo.php 

phpinfo.php 代码如下:

phpinfo();

?>

5> 测试:在IIS中新建网站或虚拟目录,路径指向 这个phpinfo.php文件。

6> 成功

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:搭建PHP开发环境Next article:php配置mongo扩展