php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15301 multiple values for php_admin_value
Submitted: 2002-01-30 11:43 UTC Modified: 2002-01-31 07:42 UTC
From: ygarnier at oscar-informatique dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.1.1 OS: Linux Mandrake 8.1
Private report: No CVE-ID: None
 [2002-01-30 11:43 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-30 14:53 UTC] sander@php.net
Can you try quoting the stuff, like
php_admin_value open_basedir "/dir1:/dir2"
???
 [2002-01-31 07:42 UTC] ygarnier at oscar-informatique dot com
Works fine !
Tks a lot

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 05:01:30 2024 UTC