I recently had to reinstall Ubuntu and everything else as my SSD crashed.
I've got Apache/MySQL/PHP set up and can access localhost/ without problems. Running PHP and MySQL works fine as well.
I keep my projects in a Dropbox folder (since the crash) located at
chmod -R 777 Projects/
[crit] [client 127.0.0.1] (13)Permission denied: /home/powerbuoy/Dropbox/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
chmoding the directory the project is in wasn't enough. I had to
chmod all the directories higher up in the tree as well.
So even though my VHOST pointed to
/AProject/ is not enough but it has to be done all the way from
/home/powerbuoy/ it seems.