Index: [Article Count Order] [Thread]

Date:  Thu, 7 Aug 2008 23:12:17 -0700
From:  "Ken Marcus - Precision Web Hosting, Inc." <kenmarcus (at mark) precisionweb.net>
Subject:  [coba-e:13702] Re: apache suexec
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <08d501c8f91d$b6ee7db0$6601a8c0@OfficeKen>
References:  <200807311849.m6VInpS5011718 (at mark) ana.xnet.com.mx> <09bc01c8f338$a3bbef60$6601a8c0 (at mark) OfficeKen> <822d01c8f89b$702b14b0$967da8c0 (at mark) thomasferrari>
X-Mail-Count: 13702


----- Original Message ----- 
From: "thomas" <tfj-online (at mark) mail.tele.dk>
To: <coba-e (at mark) bluequartz.org>
Sent: Thursday, August 07, 2008 7:39 AM
Subject: [coba-e:13694] Re: apache suexec


>
> ----- Original Message ----- 
> From: "Ken Marcus - Precision Web Hosting, Inc."
>> You might try setting the php_admin_value  open_basedir   for each of 
>> your
>> sites
>>
>> E.g.
>> php_admin_value open_basedir
>> /var/lib/php/session:/home/.sites/$preview:/home/sites/$filename:/home/tmp:/
>> tmp:/usr/bin/pear:/usr/share/pear
>>
>
>>>          print FIL2 "php_admin_value open_basedir
>>> /var/lib/php/session:/home/.sites/$preview:/home/sites/$filename:/home/tmp:/
>>> tmp:/usr/bin/pear:/usr/share/pear\n";
>
> I am getting this error after the change:
>
> [Thu Aug 07 16:35:37 2008] [error] [client ] PHP Warning:  is_file() [<a 
> href='function.is-file'>function.is-file</a>]: open_basedir restriction in 
> effect. File(/home/sites/www.domain.com/web/tmp/com_jce_150_rc4.zip) is 
> not within the allowed path(s): 
> (/var/lib/php/session:/home/.sites/16/site186/:/home/sites/www.domain.com/:/home/tmp:/tmp:/usr/bin/pear:/usr/share/pear) 
> in /home/.sites/16/site186/web/libraries/joomla/filesystem/archive/zip.php 
> on line 127, referer: http://www.domain.com/administrator/index.php
>
> please help


Thomas

Try settings the open base dir   directories to not end with a   /


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