Yesterday I setup apache virtual host on my OSX computer. I’m going to setup web application based on ZF (Zend Framework) for further development. Fortunately, Mac already has Apache+PHP on board. So, I need only turn on apache, include php module in it and provide VirtualHosts.
The problem was with apache error ‘(13)Permission denied: access to’. That means that apache can get access to some folder/file.
But it was ok with permissions in that folder/file for apache user (_www in OSX). So, what’s wrong with it?
In deed, apache needs reading or `chmod 755` permissions for all folders in the path to the destination folder/file. I found the folder and chmod it. For now, everything is just fine.