How to uninstall Apache with command line

mahabub.devs3
Mahabubur Rahman
Published on Sep, 23 2024 2 min read 0 comments
image

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.

 

 

 

0 Comments