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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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-2025 The PHP Group
All rights reserved.
Last updated: Sun Dec 07 07:00:01 2025 UTC