Re: [RCU] cannot send attachments when using open_basedir

2011-10-12 Thread Niccolò Belli
I use debian Squeeze and so I use php-5.3, but I don't use the 
eaccelerator extension.
Anyway it isn't a matter of messages, it doesn't work with open_basedir!

Niccolò


Il 12/10/2011 07:46, Claudio Kuenzler ha scritto:
 Do you use PHP 5.3 with the eaccelerator extension?
 If yes, you will have to set another eaccelerator configuration variable
 in php.ini.
 Otherwise tons of open_basedir error messages appear although the path
 is correct.

 On Oct 11, 2011 11:24 PM, Niccolò Belli darkba...@linuxsystems.it
 mailto:darkba...@linuxsystems.it wrote:

 roundcube: PHP Warning:  tempnam(): open_basedir restriction in effect.
 File() is not within the allowed path(s)

 Even setting the root (/) directory in open_basedir it does not work,
 the only way is to disable open_basedir.


 Is it a known issue?

 Niccolò
 --
 List info: http://lists.roundcube.net/users/
 BT/e21360c6


-- 
List info: http://lists.roundcube.net/users/
BT/8f4f07cd


Re: [RCU] cannot send attachments when using open_basedir

2011-10-12 Thread Niccolò Belli
  Roundcube needs PEAR so be sure to include the php libraries into the
  open_basedir path.

I do have pear.

  You also have to watch out for sessions, if they're written to /tmp,
  you also need to include this path to the open_basedir value.

I included the WHOLE root directory, /tmp was already in my virtual 
hosts open_basedir standard paths.

Niccolò

Il 12/10/2011 11:28, Claudio Kuenzler ha scritto:
 Yes, it DOES work with open_basedir. Doing this on my servers since
 version 0.2

 Roundcube needs PEAR so be sure to include the php libraries into the
 open_basedir path. E.g.: /usr/lib/php.
 You also have to watch out for sessions, if they're written to /tmp, you
 also need to include this path to the open_basedir value.

 2011/10/12 Niccolò Belli darkba...@linuxsystems.it
 mailto:darkba...@linuxsystems.it

 I use debian Squeeze and so I use php-5.3, but I don't use the
 eaccelerator extension.
 Anyway it isn't a matter of messages, it doesn't work with open_basedir!

 Niccolò


 Il 12/10/2011 07:46, Claudio Kuenzler ha scritto:
   Do you use PHP 5.3 with the eaccelerator extension?
   If yes, you will have to set another eaccelerator configuration
 variable
   in php.ini.
   Otherwise tons of open_basedir error messages appear although the
 path
   is correct.
  
   On Oct 11, 2011 11:24 PM, Niccolò Belli
 darkba...@linuxsystems.it mailto:darkba...@linuxsystems.it
   mailto:darkba...@linuxsystems.it
 mailto:darkba...@linuxsystems.it wrote:
  
   roundcube: PHP Warning:  tempnam(): open_basedir restriction
 in effect.
   File() is not within the allowed path(s)
  
   Even setting the root (/) directory in open_basedir it does
 not work,
   the only way is to disable open_basedir.
  
  
   Is it a known issue?
  
   Niccolò
   --
   List info: http://lists.roundcube.net/users/
   BT/e21360c6
  

 --
 List info: http://lists.roundcube.net/users/
 BT/86b78bab



-- 
List info: http://lists.roundcube.net/users/
BT/8f4f07cd


Re: [RCU] cannot send attachments when using open_basedir

2011-10-11 Thread Claudio Kuenzler
Do you use PHP 5.3 with the eaccelerator extension?
If yes, you will have to set another eaccelerator configuration variable in
php.ini.
Otherwise tons of open_basedir error messages appear although the path is
correct.
On Oct 11, 2011 11:24 PM, Niccolò Belli darkba...@linuxsystems.it wrote:

 roundcube: PHP Warning:  tempnam(): open_basedir restriction in effect.
 File() is not within the allowed path(s)

 Even setting the root (/) directory in open_basedir it does not work,
 the only way is to disable open_basedir.


 Is it a known issue?

 Niccolò
 --
 List info: http://lists.roundcube.net/users/
 BT/e21360c6

-- 
List info: http://lists.roundcube.net/users/
BT/8f4f07cd