Posted by Markus Ernst on 02/15/06 19:53
Jari Jokinen schrieb:
> set_include_path(get_include_path() . PATH_SEPARATOR . '.');
>
Thank you, I tried this, but then it turned out to be something trivial:
there was an open_basedir restriction on the PEAR include path.
Though there was no including of a PEAR file at all, PHP seems to check
the include path directories and output an open_basedir error before
checking the directory the file resides in.
I am not quite sure about where this behaviour is set - anyway if this
is a new behaviour of PHP5 it should IMO be documented.
Markus
Navigation:
[Reply to this message]
|