PHP 4.0 Bug #8167: safe_mode and doc_root don't work as documented
| From: | lgs at wearix dot com | Date: | Fri, 08 Dec 2000 14:36:49 +0000 |
| Subject: | PHP 4.0 Bug #8167: safe_mode and doc_root don't work as documented | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40559@lists.php.net to get a copy of this message | ||
From: lgs@wearix.com
Operating system: Solaris 2.8
PHP version: 4.0.1pl2
PHP Bug Type: Feature/Change Request
Bug description: safe_mode and doc_root don't work as documented
The documentation says that if I enable safe_mode and set doc_root, no scripts outside of the
doc_root directory are served. I have not been able to get that to work and a quick search in the
sources confirmed my suspicion that this feature is not implemented yet.
The relevant entries in my php.ini file:
safe_mode = On
doc_root = /u/www/WWW/conject/htdocs/db ; the root of the php pages, used
only if nonempty
--
Edit Bug report at: http://bugs.php.net/?id=8167&edit=1