Setting up a virtual host on LAMP (Ubuntu 11) returns 403Apache in ubuntu runs as www-data user, and all PHP is executed under this user either. Usually PHP only needs to read files, but some frameworks like CakePHP write in some places like temporary folders, or cache folders. Try to add write permissions to the temporary folder (and following folders CakePHP complains): chmod -R o+w '/home/tg/Aptana Studio 3 Workspace/ea-dev/app/tmp'