Transferred from: http://www.blogjava.net/greatyuqing/archive/2013/02/13/395308.html
The first thing to note is that the APACEH server does not have the official 64-bit version, only the folk master himself produced. The following are the specific installation steps.
- Download the 64-bit Apache server in https://blackdot.be/download-archive/ . The current version is 2.2.19, after the download of the compressed package named Httpd-2.2.19-win64.rar;
- Unzip the package to a directory, such as my directory is E:\Apache2.2.19;
- Modify the httpd.conf file under the Conf folder:
Replace all the /httpd-2.2-x64 in the file with your own extract directory, such as e:/apache2.2.19, note that the path must use a slash "/";
Change Listen to Listen 8080, if IIS is turned on, port 80 is not available;
The #LoadModule rewrite_module modules/mod_rewrite.so the top # of the line is removed.
- Executes the install command. Go to the Bin folder in your installation directory via the command line, such as E:\Apache2.2.19\bin, execute command httpd.exe-k install, This adds Apache to the system service, with the default service named Apache2.2. The command to start the service is httpd.exe-k start.
- The test installation is successful. Turn on the service, after running the Apache server, open the browser input http://localhost:8080/ , if the page displays It works! , the installation is successful and the Apache server can be used normally.