How to set open_basedir in httpd.conf when running via FCGI?
| From: | MC | Date: | Thu, 06 Mar 2014 09:21:44 +0000 |
| Subject: | How to set open_basedir in httpd.conf when running via FCGI? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323039@lists.php.net to get a copy of this message | ||
Hi,
I am going to run several virtual hosts under an Apache with PHP configured via FcgidWrapper.
How can I set up different open_basedir for each of the virtual hosts?
As far as I found, open_basedir is PHP_INI_ALL so I cannot use user.ini, as the PHP is launched via FCGI, I could not use php_admin_value in httpd.conf.
What is the best practise (except having a separate PHP install for each of the virtual host)?
Thanks.