Check if apache is running from cron?

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,275
313
Houston
Hi @Scott Galambos


The easiest way to see if Apache is running is to go to WHM>>Server Status>>Apache Status

You can also run the following over cli:

Code:
apachectl status
cPanel's chkservd already checks the status of Apache and if failed will attempt to restart it and notify you. You can read more about this service manager here: Service Manager - Version 78 Documentation - cPanel Documentation