ID:               15011
 Updated by:       [EMAIL PROTECTED]
-Reported By:      [EMAIL PROTECTED]
+Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         *Configuration Issues
 Operating System: Linux
 PHP Version:      4.1.1
 New Comment:

can now:
http://cvs.php.net/co.php/php4/main/fopen_wrappers.h?sbt=1&r=1.32


Previous Comments:
------------------------------------------------------------------------

[2002-01-12 21:27:19] [EMAIL PROTECTED]

Sorry, forget this stuff..... this was a mistake by me.

But: Why can't safe_mode_include_dir hanlde more than one directory
like include_path?

------------------------------------------------------------------------

[2002-01-12 21:10:40] [EMAIL PROTECTED]

Hi!

I tried to insert these lines in httpd.conf:
php_admin_value safe_mode_include_dir "/document_root:/tmp"
php_admin_value include_path "/document_root:/tmp"

If i remove the ':/tmp' from safe_mode_include_dir everything is fine
except that i cannot include files from /tmp. With ':/tmp' i can
include *any* file from *any* directory apache can read.

But there is something wich is even more stupid:
If i only write
php_admin_value safe_mode_include_dir "/document_root"
and remove the include_path-line i can only include files with absolute
file names.

If i define these settings in php.ini anything works fine.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15011&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to