Apache 2.0.35 php 4.2.0 installation notes under Win32_PHP tutorial

WBOY
Release: 2016-07-13 17:11:39
Original
721 people have browsed it

Notes on installing Apache 2.0.35 php 4.2.0 under Win32
1. The installation interface is relatively good, just add ServerAdmin, ServerName, and post respectively
If you enable DNS, the DNS settings will be used as the default Configuration, this should be noted.
When the default homepage is visible, the installation is successful, and there is generally no problem
2. The default homepage location is [d]:/Program Files/Apache Group/Ahache2/htdocs
If you need to modify it, you can modify it at httph. conf file (the same below)
DucumentRoot "Your homepage location"
Please also modify

If you need to configure the user homepage, you can modify it
UserDir "User home page set location"
When accessing, use http://ServerName:post/~user directory name
3. Set the default page name
Change
DirectoryIndex index.html index. html.var
to
DirectoryIndex index.php index.html index.html.var
4. Change
AddDefaultCharset ISO-8859-1
to
AddDefaultCharset GB2312
So that the default character set of the output page is gb2312, which can prevent garbled characters
5. Add at the end (note the real path of apache2filter.dll)
LoadModule php4_module c:/php/experimental/apache2filter.dll
AddOutputFilter PHP .php
AddInputFilter PHP .php
AddType text/html .php
6. The installation of php4.2.0 is the same as the lower version
At this point, you are done, you can enjoy Apache 2.0

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629585.htmlTechArticleApache 2.0.35 php 4.2.0 installation notes under Win32 1. The installation interface is relatively good, add them separately ServerAdmin, ServerName, post can be used. If you enable DNS, the DNS settings will be used as the default configuration...
Related labels:
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!