#37752 [Opn->Bgs]: php does not honour open_basedir when used with mod_fastcgi

From: Date: Fri, 09 Jun 2006 20:12:08 +0000
Subject: #37752 [Opn->Bgs]: php does not honour open_basedir when used with mod_fastcgi
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98252@lists.php.net to get a copy of this message
ID: 37752 User updated by: yurtesen at ispro dot net Reported By: yurtesen at ispro dot net -Status: Open +Status: Bogus Bug Type: CGI related Operating System: FreeBSD PHP Version: 4.4.2 New Comment: It was my mistake, I thought open_basedir also stops the initial .php file to be opened by the server. However it seems to stop the open requests from within the .php files. Sorry, Evren Previous Comments: ------------------------------------------------------------------------ [2006-06-08 21:14:31] yurtesen at ispro dot net Description: ------------ I set open_basedir in php.ini to /tmp (for testing purposes) and use a script <?php phpinfo() ?> in /home/user/www.domain.com I can see that open_basedir set as /tmp however the script continues to function without any troubles. Expected result: ---------------- I expected that the script would bail out with an open_basedir restriction error. Actual result: -------------- Script doesnt give open_basedir restriction error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37752&edit=1

« previous php.bugs (#98252) next »