0

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.

New contributor
True Kapo is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Fixed by editing /home/%user%/conf/web/%apache_config%, added these directories to php open_base_dir – True Kapo Jun 11 at 16:23

Your Answer

True Kapo is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.