How to restart Apache (HTTP) in Linux (Centos)
Anytime you make a change to items such as php.ini, you will need to restart your web server (httpd). FYI: httpd = http daemon. On our CentOS servers this generally Apache, but could be something else, particularly if you are using LXAdmin as your webhost manager.
For those using our managed servers with root access, here are the commands to do it from the command line:
to restart:
/sbin/service httpd restart
to start:
/sbin/service httpd start
to stop:
/sbin/service httpd stop
If you have purchased WHM / cPanel for your host, then you can always go to WHM and use the "Restart Scripts" for any of the core services including HTTP.
Regards,
Aztech Support
Hi Trolleyboy,
Absolutely no problem, we actually use these forum technotes for our own reference as well. That way we always have all the handy tips we have found around the Internet at hand.
Enjoy,
Aaron















Guys,
Thanks for the details, exactly what I was looking for.
Big Thumbs Up.
Cheers.