Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default What's the path to restart apache?

    Hello,

    I got these to, but I need one more to my collection:

    /usr/local/apache/bin/apachectl stop
    /usr/local/apache/bin/apachectl start

    I am going to assume it's:

    /usr/local/apache/bin/apachectl restart

    Thanks, Charles

    cPanel.net Support Ticket Number:

  2. #2
    Member vishal's Avatar
    Join Date
    Jan 2003
    Location
    India
    Posts
    343

    Default Re: What's the path to restart apache?

    Originally posted by DWHS.net
    Hello,

    I got these to, but I need one more to my collection:

    /usr/local/apache/bin/apachectl stop
    /usr/local/apache/bin/apachectl start

    I am going to assume it's:

    /usr/local/apache/bin/apachectl restart

    Thanks, Charles

    cPanel.net Support Ticket Number:
    /etc/rc.d/init.d/httpd start|stop|restart

    In WHM/CPanel => Restart Services ==> httpd server

    Regards,

    cPanel.net Support Ticket Number:
    rh_linuxion

    It is very simple to be Happy but it is very difficult to be Simple.

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    14

    Default

    Or,

    To stop apache: kill -TERM `cat /usr/local/apache/logs/httpd.pid`

    To restart: httpd start



    Kevin

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    23

    Default

    You could also use:

    service httpd stop
    service httpd start

    This works for mysql too:

    service mysql stop
    service mysql start

    -ken

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Path Problems After Apache Rebuild
    By shadeshigeru in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-23-2008, 10:33 AM
  2. How do I restart Apache?
    By jackdrolet in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-22-2007, 07:12 PM
  3. Do I need to restart Apache?
    By BraveX in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-15-2005, 11:28 PM
  4. Restart Apache kills all apache services
    By emalbum in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-03-2005, 10:09 PM
  5. Cannot install mod_perl. Need path o Apache source.
    By zerofunk in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-18-2004, 11:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube