How to install Apache 64-bitBinaries with Windows 7 x64

  
Windows 7 is Microsoft's latest operating system, and market penetration is steadily rising. As a brand new operating system, Windows 7 new features and new techniques are naturally quite a lot. Today, Xiaobian will explain how Windows 7x64 installs Apache64-bit?
Installed Windows 7 x64 English version. When building a development test environment, I found that Apache officially did not provide a 64-bit version. After several searches, I found that someone in blackdot.be compiled an Apache64-bitbinaries with Visual Studio 2005. I tried it and it works well on Windows 7 64-bit. The installation process is recorded as follows:
Windows 7 x64 Install Apache 64-bitBinaries detailed steps
1. Visit Blackdot.be ::Apache64-bitBinaries, click the link httpd-2.2.13-win64.rar below, download Apache64- Bit compression package.
2. Unzip the archive to your local hard drive. For example, I am stored in D:/Web/Tool/httpd-2.2-x64.
3. Run DOS Command (Runasadministrator) as an administrator and go to D:/Web/Tool/httpd-2.2-x64.
4. Execute httpd -k install:
D:\\Web\\Tool\\httpd-2.2-x64\\bin>httpd -k install
Installing the Apache2.2 service
The Apache2.2 service Is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before theservicecanbestarted.
httpd: Syntax error online35ofD:/Web/Tool/httpd-2.2-x64/conf/httpd .conf:
ServerRootmust be a valid directory
When httpd -k install is executed, the Apache2.2serviceissuccessfullyinstalled is displayed indicating that the installation was successful. The next Testinghttpd.conf may be wrong. For example, I reported ServerRoot must be avaliddirectory when I installed it. I don't care. Go back and edit httpd.conf yourself, point ServerRoot to the correct directory.
5. After modifying httpd.conf, execute httpd -k start:
D:\\Web\\Tool\\httpd-2.2-x64\\bin>httpd -k start
D:\\Web\\Tool\\ Httpd-2.2-x64\\bin>
If there is no prompt error, the startup is successful.
Of course, you can also perform the second step, first change the httpd.conf file, then execute httpd -k install and httpd-kstart.

Copyright © Windows knowledge All Rights Reserved