[BlueOnyx:03104] Question about open_basedir paths
Darrell D. Mobley
dmobley at uhostme.com
Mon Dec 14 22:09:35 -05 2009
I've been monitoring the error log on my new BX server, and saw a ton of
similar warnings to this:
[Mon Dec 14 20:03:05 2009] [error] [client 11.22.33.44] PHP Warning:
is_writable() [<a href='function.is-writable'>function.is-writable</a>]:
open_basedir restriction in effect. File(/var/lib/php/session) is not within
the allowed path(s): (/tmp/:/var/lib/php/session/:/home/.sites/106/site15/)
in /home/.sites/106/site15/web/libraries/joomla/filesystem/path.php on line
201, referer:
http://www.y7comics.com/administrator/index.php?option=com_config
In particular this line:
File(/var/lib/php/session) is not within the allowed path(s):
(/tmp/:/var/lib/php/session/:/home/.sites/106/site15/)
There was a similar line for /tmp.
I looked and that and thought "Huh?" I removed the trailing slashed in the
allowed paths, saved it and the error went away.
This was a bug submitted at http://bugs.php.net/41518, and they say this has
been fixed. Perhaps this is a Joomla problem, although I see a lot of
people with similar problems on other software as well.
More information about the Blueonyx
mailing list