restarting apache httpd in centos

always developed in winxp for the time being and also being new to linux i am forced to learn to make changes in php.ini and needed to restart apache or httpd

to restart:

/sbin/service httpd restart

to start:

/sbin/service httpd start

to stop:

/sbin/service httpd stop

21 thoughts on “restarting apache httpd in centos

  1. Pingback: Restart apache in centOS « Ruby on Rails UI Designer | Ruby on Rails Frontend Developer

  2. my centos 5.4 keeps hanging on startup—several services like cups, sendmail (which i finnally stopped) and httpd (which i need!) keeps hanging forever…(Starting httpd:) takes hours and I end restarting!

    Now I have disabled them using /sbin/chkconfig service off, I’m on runlevel 3; NOW i want to run httpd (after doing /sbin/chkconfig httpd on) by doing /sbin/service httpd start ; it is hanging!!

    what can I fix so I can run moodle and webmin on that server (both where running well last week!)
    I can not re-install as I need moodle marks (I need mysql setup, moodle files and I’m afraid to just copy their folders to another server!!)

    Thanks in advance

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s