how to check if apache is on on ubuntu code example Example: check if apache syntax correct ubuntu apache2ctl configtest