Edit report at http://bugs.php.net/bug.php?id=15367&edit=1

 ID:               15367
 Updated by:       [email protected]
 Reported by:      akapoli at x3 dot hu
 Summary:          open_basedir = "~" (cgi mode)
-Status:           Open
+Status:           Wont fix
 Type:             Feature/Change Request
-Package:          Feature/Change Request
+Package:          *General Issues
 Operating System: Linux
 PHP Version:      4.0.6

 New Comment:

~ is shell specific and is by no mean a valid path.


Previous Comments:
------------------------------------------------------------------------
[2002-02-04 09:13:48] akapoli at x3 dot hu

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

Reply via email to