#15301 [Com]: multiple values for php_admin_value
| From: | cbaegert at europeanservers dot net | Date: | Thu, 02 Oct 2003 12:20:56 +0000 |
| Subject: | #15301 [Com]: multiple values for php_admin_value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48421@lists.php.net to get a copy of this message | ||
ID: 15301
Comment by: cbaegert at europeanservers dot net
Reported By: ygarnier at oscar-informatique dot com
Status: Closed
Bug Type: Apache related
Operating System: Linux Mandrake 8.1
PHP Version: 4.1.1
New Comment:
This in fact a documentation bug since the documentation of this
function does not contain any quote.
Previous Comments:
------------------------------------------------------------------------
[2002-01-31 07:42:54] ygarnier at oscar-informatique dot com
Works fine !
Tks a lot
------------------------------------------------------------------------
[2002-01-30 14:53:41] sander@php.net
Can you try quoting the stuff, like
php_admin_value open_basedir "/dir1:/dir2"
???
------------------------------------------------------------------------
[2002-01-30 11:43:21] ygarnier at oscar-informatique dot com
PHP compiled as static module for Apache 1.3.23
with mysql, gd and imap support ( no safe_mode )
Apache config
<Virtualhost *>
nameserver mail.oscar-informatique.com
documentroot /data/www/webmail
php_admin_value safe_mode on
php_admin_value include_path /data/www
php_admin_value open_basedir /data/www/webmail
</Virtualhost>
Cannot pass more than 1 value to open_basedir
Apache answered "only 2 arguments allowed
for php_admin_value" i.e. open_basedir and /data/www/webmail
Need to add another open_basedir /tmp
If 2 lines with open_basedir supplied in Apache config,
2nd overwrite the preceding
Cannot dive /tmp into /data/www/webmail/tmp subdir
( bug # 14396 )
Tks for cheking
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15301&edit=1