I have been messing around with apache in the terminal on macOS Catalina 10.15.4. I was following tutorial & tutorial2. I got everything working, up to a point. The localhost
displays just fine and I can add html
websites to the default domain and they load perfectly. My issues are:
- PHP is not parsing from default apache folder. Just displays code in browswer.
- I have tried editing the document root in
httpd.conf
, but nothing changes - I have tried to undo most of what I have done so far, but now I am getting this error:
'Set the 'ServerName' directive globally to suppress this message'
Any advice? Is there a way to reset all apache's settings to their default values?