[BlueOnyx:03105] Re: Question about open_basedir paths

Ken Marcus - Precision Web Hosting, Inc kenlists at precisionweb.net
Mon Dec 14 22:40:36 -05 2009


----- Original Message ----- 
From: "Darrell D. Mobley" <dmobley at uhostme.com>
To: "'BlueOnyx General Mailing List'" <blueonyx at blueonyx.it>
Sent: Monday, December 14, 2009 7:09 PM
Subject: [BlueOnyx:03104] Question about open_basedir paths


> 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.
>
>

Darrell

Try changing it from
/tmp/:/var/lib/php/session/:/home/.sites/106/site15/
to
/tmp:/var/lib/php/session:/home/.sites/106/site15

See if that makes a difference.

----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net






More information about the Blueonyx mailing list