Saud Iqbal asked:
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.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.