Answer the question
In order to leave comments, you need to log in
Why can there be a "file_exists(): open_basedir restriction in effect" error?
Debian+Nginx+PHP-fpm.
In the nginx config I entered:
fastcgi_param PHP_ADMIN_VALUE "open_basedir = /tmp:/var/www/site:/var/www/content";
Warning: file_exists(): open_basedir restriction in effect.
File(/var/www/content/bla-bla/bla.php) is not within the allowed path(s): (/tmp:/var/www/site:/var/www/content)
Answer the question
In order to leave comments, you need to log in
In the pool settings, check if basedir is there.
If there is a pool in the settings, then it is used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question