php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37752 php does not honour open_basedir when used with mod_fastcgi
Submitted: 2006-06-08 21:14 UTC Modified: 2006-06-09 20:12 UTC
From: yurtesen at ispro dot net Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.4.2 OS: FreeBSD
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yurtesen at ispro dot net
New email:
PHP Version: OS:

 

 [2006-06-08 21:14 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-09 20:12 UTC] yurtesen at ispro dot net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC