How do I check for syntax errors in my Apache web server configuration
You can use this as well if you don't have httpd.
apachectl configtest
If syntax is ok:
sudo apache2ctl configtest
Will reply with:
Syntax OK
On linux, you use
/usr/sbin/httpd -t
On windows, you would use the equivalent command to the httpd.exe file