The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can I restart apache or mysql?

Discussion in 'EasyApache' started by fairplay, Dec 19, 2003.

  1. fairplay

    fairplay Member

    Joined:
    Sep 16, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I want to restart my web server or mysql by command because sometimes I can't access server by WHM but SSH. So can you help me?
     
  2. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    Apache

    /etc/rc.d/init.d/httpd start

    /etc/rc.d/init.d/httpd stop

    /etc/rc.d/init.d/httpd restart
     
  3. fairplay

    fairplay Member

    Joined:
    Sep 16, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    thanks!

    thanks!
     
  4. Hoojx

    Hoojx Active Member

    Joined:
    Jun 5, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    This will work as well

    Apache :
    service httpd restart

    MySQL :
    service mysql restart
     
Loading...

Share This Page