If you would like to STOP the Apache web server on a cPanel box, just run

  • /etc/init.d/httpd stop

or

  • service httpd stop

To disable it forever,┬áso it doesn’t start automatically when the server is rebooted, just run

  • chkconfig –level 345 httpd off.