check if apache is running ubuntu code example Example: check if apache syntax correct ubuntu apache2ctl configtest