Bug #15011: safe_mode_include_dir gives stupid results when configured in httpd.conf
| From: | tapken at engter dot de | Date: | Sun, 13 Jan 2002 02:10:41 +0000 |
| Subject: | Bug #15011: safe_mode_include_dir gives stupid results when configured in httpd.conf | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76838@lists.php.net to get a copy of this message | ||
From: tapken@engter.de
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