Is there any way to define open_basedir to virtualhost file in my Apache Event MPM? I tried everything and it just does not want to work. Tried fastcgi_param PHP_VALUE open_basedir="/home/user/web/:/usr/share/phppgadmin/";

Also tried http://php.net/manual/en/ini.sections.php and that is also not working.

1 Answer 1


You can't pass PHP configuration values from Apache when using php-fpm. They must be placed in either the PHP ini file, or the php-fpm pool configuration file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .