How to uninstall Apache with command line

Mahabubur Rahman
1
Some time we need to remove Apache from service. But how we remove the Apache service from windows service. We can remove apache service by windows commend prompt commend. For this we can follow the steps i can mention below-

  • Step1: Stop apache service.
  • Step2: Run cmd as administrator.
  • Step3: Go to your apache/bin directory by cd commend 
  • Step4: Write comment httpd.exe -k uninstall and press Enter key.


Stop Apache service from Service windows. Run windows commend window as administrator.


Go to apache bin folder by cd commend


Now write
httpd.exe -k uninstall
and press enter key


The Apache service now removed from windows service.
For any question on this topics please mention comment on comment box below.

Post a Comment

1Comments
Post a Comment