global value (php.ini) settings override with local (virtualhost) value
| From: | Davide Giunchi | Date: | Thu, 27 Feb 2003 09:31:50 +0000 |
| Subject: | global value (php.ini) settings override with local (virtualhost) value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137368@lists.php.net to get a copy of this message | ||
In php.ini i've set
open_basedir = /usr/local/lib/php/:/tmp/
in vhost.conf (VirtualHost include file) i set
php_admin_value open_basedir /web/htdocs/linuxtest4.aruba.it/home/
So if i execute phpinfo i view:
LOCAL MASTER
open_basedir /web/htdocs/linuxtest4.aruba.it/home/ /usr/local/lib/php/:/tmp/
but if i execute a script that try to open a file in /tmp i get limitations by
open_basedir.
If i put all these value in the php.ini and toggle php_admin_value
open_basedir in vhost.conf i get all working ok.
How can i avoid the open_basedir value to be overwritten by vhost.conf ? (i
want to be "added")
Regards.
--
Davide Giunchi