Home >Backend Development >PHP Tutorial >Installation and configuration of Apache + php3 under WIN98_PHP tutorial

Installation and configuration of Apache + php3 under WIN98_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:47:17767browse

Installation and configuration of Apache+php3 under WIN98
/software/apache_1_3_12_win32.exe
Installed in c:apache
Configuration: httpd.conf
1. ServerType (server type)
standalone and inetd
2. ServerRoot (server root directory)
ServerRoot "C:/apache"
3. port (server port)
can be 80 or 8080, or any number!
4. ServerAdmin (Server Administrator)
The email address of the server administrator. If there is an error, a message will be automatically sent to the server administrator.
5. Servername (name)
Valid computer domain name.
6. documentroot (document main directory)
The address of the default html main document. Such as documentroot "C:/apache/htdocs"
7. directoryindex (default main document)
directoryindex index.htm index.htm index.php3
8. ScriptAlias ​​(script alias)
to store CGI programs Directory or URL such as: ScriptAlias ​​/cgi-bin/"C:/apache/cgi-bin/"
9. addType
Create a specific MIME type ("text/html") for the file with the specified extension
10. Directory
There are five instructions between and : Options, AllowOverride, order, allow, deny.
Options determine how all files in this directory will behave. Operation, its value can be: none, all, indexs, includes, followSymlinks, ExecCGI, MultiViews.

www.bkjia.comtruehttp: httpd .conf 1. ServerType (server type) standalone and inetd 2. Server...
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