Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
How to start/stop Apache service.
How to create Apache as a service. (Windows)
Open command prompt(Run as Administrator)
Navigate to directory $APACHE_HOME\bin.
Run the command as httpd.exe -k install -n "Apache2.4"
The service will be initialized.
Note: For Linux, the service gets automatically created at the time of Apache installation.
How to start/stop service.
Windows | Start: Go to Task manager => Services tab => Click on the Apache2.4 service => Click on Start link. (In left panel)
|
Linux | REDHat/CentOS: sudo systemctl start httpd |
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com