Check if apache is running from cron?

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
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