The first thing to note is that the apaceh server does not have an official 64-bit version and is only prepared by a private expert. The installation steps are as follows.
-
- InHttps://blackdot.be/download-archive/Download a 64-bit Apache server. Currently, the zip package name is httpd-2.2.19-win64.rar;
-
- Decompress the package to a directory, for example, my directory isE: \ apache2.2.19;
- modify conf httpd. conf file:
replace /httpd-2.2-x64 replace all with your own extract directory, such as E:/apache2.2.19 . Note that the path here must use the slash" / ";
set listen 80 to listparts 8080 . If IIS is enabled, port 80 cannot be used;
replace # loadmodule rewrite_module modules/mod_rewrite.so # .
- Run the installation command. Use the command line to accessBinFolder, suchE:/apache2.2.19/bin, Execute the commandHttpd.exe-K installIn this way, Apache is added to the system service. The default service name isApache2.2. The command to start the service isHttpd.exe-K start.
-
- Test whether the installation is successful. Open the service, run the Apache server, open the browser and enterHttp: // localhost: 8080/If the page displaysIt works!, Indicates that the installation is successful, and the Apache server can be used normally.