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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

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 Mar 28 19:01:29 2024 UTC