Bug #15011 Updated: safe_mode_include_dir gives stupid results when configured in httpd.conf

From: Date: Tue, 05 Feb 2002 01:57:58 +0000
Subject: Bug #15011 Updated: safe_mode_include_dir gives stupid results when configured in httpd.conf
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79161@lists.php.net to get a copy of this message
ID: 15011 Updated by: aaron.hawley@uvm.edu -Reported By: tapken@engter.de +Reported By: aaron.hawley@uvm.edu 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] tapken@engter.de 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] tapken@engter.de 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

« previous php.dev (#79161) next »