I recently upgraded to php56 on Mac OSX El Capitan. Now I am unable to run apache.
I am getting:-
This site can’t be reached
localhost refused to connect.
when trying to run localhost
apachectl -k restart command gives error saying
httpd not running, trying to start
When I run the command httpd -t -c httpd.conf, it throws the following error:-
AH00526: Syntax error on line 1 of -c/-C directives:
Invalid command 'httpd.conf', perhaps misspelled or defined by a module not included in the server configuration
apachectl configtest does not throw any errors. No logs in apache logs either.
Can anyone help me fix this. If you need any more details please tell me.