itpp2012 Wrote:
-------------------------------------------------------
> open_basedir should be set in php.ini and not be passed via nginx.
>
> ea.
>
> [PATH=/webroot/www.testsite123.nl]
> open_basedir = /webroot/www.testsite123.nl
> doc_root = /webroot/www.testsite123.nl
open_basedir can be passed via nginx without problem, bad advice.
To the original question: it should work. I suggest you to check whether other PHP configuration files like hosts.ini (per host or per path) or php-fpm.conf (per pool) already load 'open_basedir' admin value that cannot be altered later by nginx with PHP_ADMIN_VALUE. Check with phpinfo() call which files are being loaded and what is master and local value for 'open_basedir'. This will help you to track the issue.
Good luck!
Andrejs
-------------------------------------------------------
> open_basedir should be set in php.ini and not be passed via nginx.
>
> ea.
>
> [PATH=/webroot/www.testsite123.nl]
> open_basedir = /webroot/www.testsite123.nl
> doc_root = /webroot/www.testsite123.nl
open_basedir can be passed via nginx without problem, bad advice.
To the original question: it should work. I suggest you to check whether other PHP configuration files like hosts.ini (per host or per path) or php-fpm.conf (per pool) already load 'open_basedir' admin value that cannot be altered later by nginx with PHP_ADMIN_VALUE. Check with phpinfo() call which files are being loaded and what is master and local value for 'open_basedir'. This will help you to track the issue.
Good luck!
Andrejs