After Apache is installed (not installed according to the default path, my path is D: \) which of the following small feather icons is not started? It is difficult to keep the left button, the system prompts "no services installed", indicating that the server is not installed.
Solution: Find the bin directory under the apache2.2 directory that contains an apache.exe file. In the running directory, type "cmd" to open the DOS window,
Type:D :\Note: Go to disk D because my Apache is installed on disk D.
Type:CD apache2.2Note: Go to the D: \ apache2 \ directory
Type:CD BinNote: Go to the D: \ apache2.2 \ bin \ directory.
Type:Httpd.exe-K install-N apache2.2Note: The apache service has been added. Next we will start it.
Type:Net start apache2.2Note: To enable the apache2 service and disable the server: net stop apache2.2
OK, problem solving
Note!The following statements can be used to delete an apache service:
SC Delete apache2.2
TIPS:
Save the following statement as a. BAT file and put it on the desktop. When you double-click it, it will "restart apache service:
Net stop apache2. 2
Net start apache2. 2