php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34679 include not affected by open_basedir
Submitted: 2005-09-29 12:19 UTC Modified: 2005-09-29 13:17 UTC
From: blfijgnk at no-spam dot hu Assigned:
Status: Not a bug Package: Safe Mode/open_basedir
PHP Version: 4.4.0 OS: linux
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: blfijgnk at no-spam dot hu
New email:
PHP Version: OS:

 

 [2005-09-29 12:19 UTC] blfijgnk at no-spam dot hu
Description:
------------
include not affected by open_basedir

Reproduce code:
---------------
open_basedir = /var/www

<?php
include('/etc/passwd');
?>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-29 12:23 UTC] tony2001@php.net
1) Check that you're editing the right php.ini
2) Check that open_basedir is really set (see phpinfo())
3) Restart your web-server.

 [2005-09-29 12:27 UTC] blfijgnk at no-spam dot hu
from phpinfo:

open_basedir	/var/www	/var/www
 [2005-09-29 12:48 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Can't reproduce.
 [2005-09-29 13:03 UTC] blfijgnk at no-spam dot hu
bogus.

sorry, i got cached page from mmcache.
 [2005-09-29 13:17 UTC] tony2001@php.net
Not a bug -> bogus.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC