php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #24833 can't find documentation for open_basedir
Submitted: 2003-07-27 17:32 UTC Modified: 2003-08-01 12:27 UTC
From: john at webital dot de Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.1 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: john at webital dot de
New email:
PHP Version: OS:

 

 [2003-07-27 17:32 UTC] john at webital dot de
Description:
------------
THIS IS A DOCUMENTATION BUG !

when its set for the following /home/www/netsh128/

and I have a file /home/www/netsh128/bits/neu/file.php which includes a file in /home/www/netsh128/bits/file2.php
 
eg include '../file2.php';

I get loads of warnings a open_basedir restrictions !

If I change my include to 
include '/home/www/netsh128/bits/file2.php'; 

then no problems - this took a lot searching to find out !!!
It is not well documented !

Hope it helps someone !


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-27 17:33 UTC] john at webital dot de
to do with open_basedir
 [2003-07-31 14:24 UTC] nicos@php.net
You probably don't know where to find it.

But its documented.
 [2003-07-31 15:44 UTC] john at webital dot de
Answer from bugs.php.net was 
"
You probably don't know where to find it.

But its documented.
"

Okay but that's exactly my point - why sould I have to know where to find it ?
Why is it not documented by open_basedir ??
That is my point - not that if I search for ages I can find it !
 [2003-07-31 18:43 UTC] didou@php.net
nicos, maybe you can supply a link ? It will be great for John
 [2003-08-01 03:25 UTC] goba@php.net
And would be great for us too, so we can see that is is really explained :)
 [2003-08-01 05:04 UTC] didou@php.net
Opening again. Try to give a *good* reason when marking a bug bogus.
 [2003-08-01 09:44 UTC] philip@php.net
Here:
http://www.php.net/features.safe-mode#ini.open-basedir

It's not the documentations teams fault that the manual search isn't "working so well" these days, a problem that is well known.  Status->bogus.
 [2003-08-01 10:52 UTC] goba@php.net
As far as I see, the original report says, that a file *below* the open_basedir cannot be included, just because the guy used ../filename.php to include the file. Is this exlpained on the link you have sent? I cannot see it...
 [2003-08-01 12:27 UTC] philip@php.net
I attempted, and cannot duplicate this problem.  ../ works fine for me (testing PHP 4.3.3) so if this was a bug, it was fixed at somepoint.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 11:00:01 2025 UTC