[ERROR] Apache2.2:service is already installed.
(OS 1060) The specified service is not installed. : Apache2.2
The above two errors can generally be resolved by reinstalling Apache in the following way
Tip Apache has already been installed.
Open the service, describe the sort, find the service that contains the Apache word to judge is not previously loaded with other software comes with Apache, uninstall.
If the software with Apache is uninstalled, but Apache does not uninstall it, it is completely removed by the following method.
Right-click the service name-property to find the executable path through this path to find the EXE file specified by this service and the folder where it was deleted. If the hint is being used, it cannot be deleted. Then use the following method:
There are two ways to delete:
Method One: Use sc.exe this Windows command
Start-run--cmd.exe and enter SC to see it. The way to use it is simple:
SC Delete "service name" (if there is a space in the middle of the service name, it needs to be quoted before and after)
As for the above: SC Delete Apache2.2 (this method I have tried to do)
Method Two: Edit the Registry directly
Open Registry Editor and locate the following key value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General Service will be shown here in the same name (similar to Apache2.2) a main health, directly delete the relevant key value can be.
If apache2.2 is not found in the service, it is in the registration table.
Open Registry Editor and locate the following key value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General Service will be shown here in the same name (similar to Apache2.2) a main health, directly delete the relevant key value can be.
Through the above operation, basically determined that the previously installed Apache has been cleaned up, it is best to restart the computer, reinstall the currently downloaded Apache software.