check apache for errors code example
Example: apache check config
#check the syntax on your apache config(s) BEFORE you restart
sudo apachectl -t
#if that doesn't work on your server give this a go
sudo apache2ctl configtest
#check the syntax on your apache config(s) BEFORE you restart
sudo apachectl -t
#if that doesn't work on your server give this a go
sudo apache2ctl configtest