Apache HTTP Server is an open source Web server of the Apache Software Foundation, which can run in most computer operating systems, and is one of the most popular Web server-side software due to its extensive use of multiple platforms and security. It is fast, reliable, and can be compiled into the server by a simple API extension, such as the Perl/python interpreter.
First, download
: HTTP://WWW.APACHEHAUS.COM/CGI-BIN/DOWNLOAD.PLX
Second, the configuration
2.1 Download down the zip suffix of the package, extract it out, and then put the custom name in the corresponding location, I was in the server's D packing directory, named: Apache22, that is D:\Apache22\, the directory contains bin, conf, Htdocs, Lib and other directories and documents;
2.2 Configure the environment variable, add at the end of the system variable path:;D: \apache22\bin (note is append, not overwrite)
2.3 Configuring httpd.conf
Edit the contents of the conf/httpd.conf file under the root program directory:
ServerRoot "d:\Apache22"
<directory/>
Options FollowSymLinks
AllowOverride None
Order Deny,allow
Allow from all
</Directory>
Note: I simply change two of them, in the production environment, it is necessary to adjust the configuration file according to the actual situation;
Third, installation
Run as Administrator start-run-input cmd, after entering the DOS window, first switch to the Apache program directory:
C:\users\administrator>d:
D:\>CD Apache22\bin
D:\apache22\bin>httpd-k Install
D:\apache22\bin>httpd-k start
Other Command Line options:
Stop Apache httpd-k Stop
Restart Apache httpd-k Restart
Uninstall Apache Service httpd-k Uninstall
Test Config Syntax httpd-t
Version Details Httpd-v
Command Line Options List httpd-h
Iv. Verification
Open the browser, enter in the Address bar: http://localhost/, if you can open the site information normally, that is, the deployment has been successfully deployed.
This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1643781
The uncompressed version of Apache for Windows installation configuration