Bug #15367: open_basedir = "~" (cgi mode)
| From: | akapoli at x3 dot hu | Date: | Mon, 04 Feb 2002 14:13:49 +0000 |
| Subject: | Bug #15367: open_basedir = "~" (cgi mode) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-79093@lists.php.net to get a copy of this message | ||
From: akapoli@x3.hu
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: open_basedir = "~" (cgi mode)
It would be so nice to set the open_basedir in php.ini to the current
user's home directory: open_basedir = "~"
We are hosting several virtual sites. They run php whith their own UID
(Apache suexec - php in cgi mode). We have to lock them to safe place:
their home dir. Now this option is not available so we set open_basedir =
".", but this makes difficulties in case of sophisticated applications,
where the application is divided into directories, and the backward opens
are needed ( ex. include("../includes/lib.inc") ).
--
Edit bug report at http://bugs.php.net/?id=15367&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15367&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15367&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15367&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15367&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15367&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15367&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15367&r=notenoughinfo