Re: Re: Problems with open_basedir
| From: | Patrik Jansson | Date: | Fri, 20 Oct 2006 11:24:21 +0000 |
| Subject: | Re: Re: Problems with open_basedir | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243392@lists.php.net to get a copy of this message | ||
I noticed that this "bug" is already to be found in the bug
database.
This is exactly how I'm experiencing it:
http://bugs.php.net/bug.php?id=37556
In that report they link the reader to
http://bugs.php.net/bug.php?id=30188 which is also applicable.
Although I can't understand the last answer:
Obviously PHP cannot resolve "/home/wejn/x/docs1/html/y" as it even
doesn't exist, so it compares non-existing "/home/wejn/x/docs1/html/y"
to "/home/wejn/x/docs/html/" and reports that they aren't the same.
This would mean that every file that doesn't exist does not lie
within any open_basedir at all? How can file_exists() be useful
if that's the case? And why is it only the case if the symbolic
link is used?
They claim this isn't a bug but it still doesn't work as I would
expect it to do.
-Patrik