Because the individual has the tendency to force, download the software are like to download from the official website, groping for a long time finally feel how to download the Apache official website version of the Apache server, and now share to everyone.
- 1
Go to Apache server website http://httpd.apache.org/, here we download stable version of
httpd 2.2.29 For example, click Download.
- 2
Due to the official website revision, the previous way may be downloaded in five ways, in order not to waste everyone's time, hereby amended 2015-01-24
The first step is still click Download
- 3
Click Link files for Microsoft Windows
- 4
The Apache HTTP Server Project itself does not provide binary releases of software, only source code. Individual committers may provide binary packages as a convenience, but it's not a release deliverable.
If you cannot compile the Apache HTTP Server yourself, you can obtain a binary package from numerous binary distributions Available on the Internet.
Popular options for deploying Apache httpd, and, optionally, PHP and MySQL, on Microsoft Windows, include:
Apachehaus
Apache Lounge
BitNami WAMP Stack
Wampserver
Xampp
The general meaning is that Apache itself does not provide the compiled installation package, only provide the source code, if you do not compile yourself, you can choose the following official recommended third party to provide the compiled website.
The latter two are the famous Wamp and XAMPP integrated environment, if only want to download Apache can choose the first three sites, here our first Apachehaus for example.
- 5
After opening Apachehaus you will find a variety of Windows versions on this site, and you can choose the version you want to download.
- 6
Click the icon in the red box to start the download, x86 is 32-bit, x64 is 64-bit, according to their own operating system to choose to download
- 7
After decompression is a compressed package, move him to the place you want to place.
- 8
Under the command line into the bin directory below Apache, enter
Httpd-k Install
Install Apache as a Windows backend service.
- 9
Use Apachemonitor to launch your Apache.
The Apache monitor is a desktop tray application This allows you to Monitor the existence of a running Apache service and Easily start, stop and restart Apache. To use it just double click on the ApacheMonitor.exe in the \apache24\bin folder. If you want it-to-start automatically for your when your log into the computer, just drag a copy into the Startup folder in Window ' s Start Menu.
- 10
Please refer to the accompanying documentation readme_first.html for more information.
- 11
Make a brief summary of some of the problems encountered by everyone
1, because Apache is listening to the default 80 port, if your computer IIS is the boot state, and also use the 80 port, Apache will not start normally, you need to stop IIS, the other Thunderbolt may also use 80 port, so also to shut down Thunder. To see if Port 80 is occupied, enter it at the command line:
Netstat-aon|findstr "80"
If you see a result that indicates that port 80 is already in use, you need to close the software first, or modify the Apache default listening port
Open conf/httpd.conf Search for "Listen 80" in the Apache directory
Modified to listen 8088
Save and then restart Apache
- 12
2. Httpd-k install enter this command to see if the service is successfully installed
Start-up run-->services.msc--> OK
If you can see the Apache Word in the service list after opening, the service installation is successful, you can start the service by clicking the Start button on the left side directly.
- 13
3, the service can not be installed properly, first determine whether the software 32-bit and 64-bit and their own system matching
Second, see if the computer has installed software corresponding to the running package, such as you download the VC9 version, then you need to install Microsoft Visual C + + redistributable, the same VC11 version you need to install Microsoft Visual C + + Update 4 Redistributable Package (X86 & x64)
The appropriate visual Studio redistributable packages download link is available at the bottom of the Apachehaus Web site