How to Fix Forbidden and Permission Denied Error Messages on your Apache Setup
Addressing common Apache install errors on the How to Set Up Apache and PHP which I did awhile back.
For a start make sure that we have the configuration files correct.
Check the File access for
Owner
Group
Everyone
Check for File permissions
4 – Read
2 – Write
1 – Execute
Folders should be 755 and files should be 644.
Correcting myself on the video – to add a user to a group use the folllowing command.
sudo adduser username grouptoadd
did configtest..but I kept seeing these lines
AH00557: httpd: apr_sockaddr_info_get() failed for tserings-MacBook-Pro.local
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK
Cheers for following up on the issue, helped loads