So im trying to deploy a application that consists of these files
/my_website_root_path /server /views /public_html
The problem here is that the files from public_html can't access ../server and ../views, i can't include them to php.
So far i've set 755 permissions for my_website_root_path, i gave ownership to www-data user and also added the current user to www-data group. Still can't access it. I don't know what's wrong, the permissions are all correct.
Im on Linux (ubuntu 18.04) with Apache2, also using VestaCP.