On my local dev server, I have the following setup:
- CentOS 7
- All dev sites located in a subdirectory in /var/www/html/
Occasionally things will break, or permissions need to be reset on new dev sites. Here's a quick fix that I use to get all the usual troubleshooting steps out of the way. Note that this is on a local dev server, you'd never blindly do this on a prod server.
Insert the following into your .bashrc file: