How to Manually add Apache to Windows Service

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

If any one accidentally  remove Apache from service or when install any how not add to service, how they add or run Apache service ? It is very painful to me run Apache server every time when i turn on my server PC. So i found a solution for this problem and found solution to fix it. The solution is manually add Apache service. I will discuse on Apache2.4.

First run commend prompt as administrator.

 


Go to Apache2.4/bin on commend prompt.ie.

 


You are now here C:\Apache2.4\bin> on cmd.Now write the following commend

C:\Apache2.4\bin>httpd.exe -k install


Now the Apache2.4 added to service. Now you can start the service from cmd prompt by following commend
 

net start apache2.4


Now the Apache2.4 server started .
For any question on this tutorial please mention comment in commend box below.

 

 

 

 

 

0 Comments