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