在线等待,请问谁会在WINDOWS2000下安装PHP???(21分)

6

6bytes

Unregistered / Unconfirmed
GUEST, unregistred user!
要求详细、具体的答案,谢谢
 
http://www.php.net/distributions/manual/php_manual_zh.chm
下了之后自己看吧,所有的东东都在
 
Windows2000/Win9X下安装Apache
一、 安装APACHE(配置conf目录下的httpd.conf文件)
安装就不说了,和普通的程序安装一样,接照提示既可。以下是配置内容:
步骤1:将php.ini-dist复制到c:/winnt(假设系统装在C盘的Winnt)下,改名为php.ini,并设置(session)临时文件的存放位置
session.save_path = c:/winnt/temp
步骤2:配置conf目录下的httpd.conf文件
1、把 #BindAddress * 改为 BindAddress 127.0.0.1(假设服务器IP为127.0.0.1,根据自己的IP做修改)
2、把#Servername new.host.name 改为 Servername 127.0.0.1(假设服务器IP为127.0.0.1,根据自己的IP做修改)
步骤3:让你的APACHE来支持PHP4. 配置conf目录下的httpd.conf文件,加上下面这么几句:
ScriptAlias /php4/ "C:/php4/" (假设PHP是安装在C:/php4)
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "/php4/php.exe"
步骤4、 增加默认启动文档:
DirectoryIndex index.html
DirectoryIndex index.htm
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.php4
二、在win9x下安装
如果是在win9x下安装,则完成上述工作后,再将php4ts.dll复制到系统的system目录下既可。
另外可访问了解其他详细内容: http://sky.xmxl.com
 
在这里下在一个Windows Binaries的PHP 4.3.2 installer版,直接安装就可以了
http://www.php.net/downloads.php
 
建议在Windows 2000下不要使用Apache
用IIS就可以了。值得注意的是安装了IIS后还要安装OFFICE 2000然后再安装在PHP下载的PHP安装程式,程式会自动连接到IIS提供的WWW服务中。
 
phpuser.com
 
用IIS也很简单安装,
把PHP作为IIS的过滤器,
用ISAPI(好象是这个名字)
 

Similar threads

D
回复
0
查看
735
DelphiTeacher的专栏
D
D
回复
0
查看
711
DelphiTeacher的专栏
D
D
回复
0
查看
681
DelphiTeacher的专栏
D
顶部