Home  >  Article  >  Backend Development  >  Win32下Apache 2.0.35 php 4.2.0安装扎记_PHP教程

Win32下Apache 2.0.35 php 4.2.0安装扎记_PHP教程

WBOY
WBOYOriginal
2016-07-13 17:11:39663browse

Win32下Apache 2.0.35 php 4.2.0安装扎记
1、安装界面比较有好,分别添入ServerAdmin、ServerName、post即可
     如果你起用了DNS,会将DNS的设置作为默认配置,这点要注意。
     当可见到默认主页时表明安装成功,一般没有问题
2、默认的主页位置在[d]:/Program Files/Apache Group/Ahache2/htdocs
     若需要修改可在httph.conf文件中修改(下同)
     DucumentRoot "你的主页位置"
     请同时修改
     
     如需要配置用户主页,可修改
     UserDir "用户主页集位置"
     访问时用http://ServerName:post/~用户目录名
3、设定默认页面名
     将
     DirectoryIndex index.html index.html.var
     改为
     DirectoryIndex index.php index.html index.html.var
4、将
     AddDefaultCharset ISO-8859-1
     改为
     AddDefaultCharset GB2312
     以使输出页面的默认字符集为 gb2312,可防止出现乱码
5、在尾部添上(注意apache2filter.dll的真实路径)
     LoadModule php4_module c:/php/experimental/apache2filter.dll
     AddOutputFilter PHP .php
     AddInputFilter PHP .php
     AddType text/html .php
6、php4.2.0的安装与低版本相同
     到此,大功告成,你可以享受Apache 2.0了

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/629585.htmlTechArticleWin32下Apache 2.0.35 php 4.2.0安装扎记 1、安装界面比较有好,分别添入ServerAdmin、ServerName、post即可 如果你起用了DNS,会将DNS的设置作为默认配置...
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