Installation of 64-bit Apache server under Windows
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.
- on the https://blackdot.be/download-archive/ Download the 64-bit Apache server. The current version is 2.2.19, after the download the package name is Httpd-2.2.19-win64.rar;
- extracts the package to a directory, such as my directory is E:\Apache2.2.19 ;
- Modify Conf folder httpd.conf file:
/httpd-2.2-x64 in file Replace all with your own extract directory, such as e:/apache2.2.19 , and note that you must use the slash "/" in the path,
will Listen 80 instead Listen 8080 , if IIS is turned on, port 80 will not be available;
will # loadmodule Rewrite_module modules/mod_rewrite.so the front # of this line is removed. The
- executes the installation command. Enter 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, and the default service name is Apache2.2 . The command to start the service is httpd.exe-k start .
- tests whether the installation was 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, The Apache server can work properly with
Third, the uninstall of Apache service
1. Open the computer "start", "Run", CMD, into the DOS command line window, into the Apache installation directory, such as the D:\local\Apache2\bin directory.
2. Enter command: Httpd.exe-k uninstall uninstall Apache service. (Note: The Httpd.exe-k install command installs the Apache service).