Please Support Us

If you appreciate the free Tech Help on our site then please donate using the link below so we can keep bringing it to you. Just $1 can help.

How to restart Apache (HTTP) in Linux (Centos)

4 replies [Last post]
Admin
Offline
Moderator
Joined: 16/08/2008
Points: 261

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

__________________

For Official Aztech Networks Support - email to support@aztech.net.au

If you appreciated this help, please donate so we can keep the tech info flowing!

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
trolleyboy
Offline
Regular Member
Joined: 08/03/2009
Points: 0
Thanks...

Guys,

Thanks for the details, exactly what I was looking for.

Big Thumbs Up.

Cheers.

Admin
Offline
Moderator
Joined: 16/08/2008
Points: 261
No problems

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

__________________

For Official Aztech Networks Support - email to support@aztech.net.au

If you appreciated this help, please donate so we can keep the tech info flowing!

 

Anonymous (not verified)
thx

 thanks i have a pbx in a flash server and it's web server has returned an error

Anonymous (not verified)
thank you very much

thank you very much