Mod security syntax error
Solution 1:
I was almost two years late to this post but in my case it is because I was executing the command without administrator privileges. try with sudo apachectl -t or sudo apache2ctl configtest
I was almost two years late to this post but in my case it is because I was executing the command without administrator privileges. try with sudo apachectl -t or sudo apache2ctl configtest