From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.1.1
PHP Bug Type:     *Configuration Issues
Bug description:  safe_mode_include_dir gives stupid results when configured in 
httpd.conf

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 bug report at: http://bugs.php.net/?id=15011&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to