We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

403 forbidden

Hello i have problem to setup a new project. I give permissions 777 but I'm still having this msg:

You don't have permission to access / on this server.

Apache/2.4.7 (Ubuntu) Server at blog.dev Port 80


What is root project ?

If root project is "/home/user/.../". You need to chown it for example:

    sudo chown apache2:apache2 -R /home/user.../

Thien is right. Make sure the apache2 or www-data user (depends on your apache installation) is the owner of the folder.

Also, Apache servers running suphp will not allow access on any folder with 777 permissions so you may have to set those to 755 if you keep running into this problem.