IIS环境下安装PHP5_PHP教程

WBOY
Release: 2016-07-15 13:23:35
Original
1361 people have browsed it

1.要下载2个php的安装包:一个是install版本的,另一个是zip版本的 。
2.运行install版本,按照标准模式安装就可以了,安装过程中注意正确选择你的iIS版本。
2000server 选iis4或更高版本 ,2003server选择iis 6.
关联.php,.phtml.php3等文件类型。这里设定d:php作为安装目录
3.别着急,现在还不能马上用.把zip版的解压缩,到d:php5zip文件夹下面,copy目录下所有的文件和目录,然后粘贴到d:php,覆盖下面的所有文件.
4.C: PHPext下面的dll扩展文件复制到c:windowssystem32下面,*给guests用户组(我的机器上,每个站点设置了用不同的匿名用户,这些用户都属于guests组,如果你只有一个ISUR_你的机器名,则只需要设置ISUR_你的机器名的权限)这些关于PHP5的dll文件读取和运行的权限。
5.*给guests用户组php.exe,php-cgi.exe,php5isapi.dll读取和运行的权限。
6.*设置c:windowsphp.ini  或者 c:winntphp.ini为guests用户组可以:读取.
7.最后,别忘记在IIS里面给站点属性--〉文档里增加index.php或者default.php
8.MySQL的启用:
需要去掉c:windowsphp.ini  或者 c:winntphp.ini里面关于php_mysqli.dll扩展的注释
另外增加extension=php_mysql.dll
9.好了,如果要增加图形或其他功能,修改php.ini  里面的extension,并且把相关的dll文件复制到c:windowssystem32下面,并给guests用户组这些关于PHP5的dll文件读取和运行的权限。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/446865.htmlTechArticle1 .要下载2个php的安装包:一个是install版本的,另一个是zip版本的 。 2 .运行install版本,按照标准模式安装就可以了,安装过程中注意正确选...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!