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.


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.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.