If you want to make sure that your apache config file syntax is in tact without restarting apache, run this command
apache2ctl -t
If you want to make sure that your apache config file syntax is in tact without restarting apache, run this command
apache2ctl -t
You could also do a httpd -k configtest to test the configuration.