Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    166
    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:
    151
    thanks!

    thanks!
     
  4. Hoojx

    Hoojx Active Member

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

    Apache :
    service httpd restart

    MySQL :
    service mysql restart
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice