How To: Restart/Stop HTTPD service from command prompt?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Shane
    Senior Member
    • Jun 2006
    • 264

    How To: Restart/Stop HTTPD service from command prompt?

    Hello All,

    In order to stop/restart HTTPD service from command prompt in Linux, one needs to execute below mentioned command:

    To stop HTTPD Service:

    $ /sbin/service httpd stop

    To Start HTTPD Service:

    $ /sbin/service httpd start

    Thanks,

    Shane G.
    AccuWebHosting.Com
    Tags: None
    Last edited by Marc_AccuWebHosting; 01-03-2018, 05:14 PM.
  • Shane
    Senior Member
    • Jun 2006
    • 264

    #2
    Re: How To: Restart/Stop HTTPD service from command prompt?

    Hello All,

    We can also execute below mentioned command to restart httpd service from command prompt:

    /scripts/restartsrv_httpd

    This command is in-built with WHM/cPanel script.

    Thanks,

    Shane G.
    AccuWebHosting.Com

    Comment

    Working...
    X