you can put your roundcube files somewhere that open basedir permits, you can try place that file on /usr/local/lib/php ..

i hope it work..

On 2/6/06, Thomas -Balu- Walter <list+roundcube-dev@b-a-l-u.de> wrote:
Hello all,

I had a minor problem today after I switched our roundcube to a
different virtual server. That one had the the open_basedir restriction
active which led to the following error when uploading attachments:

PHP Warning: copy(): open_basedir restriction in effect.
File(/tmp/phpGk2plC) is not within the allowed path(s):
(/home/.../htdocs/) in /home/.../htdocs/program/steps/mail/upload.inc on
line 42 ./program/steps/mail/upload.inc:  if (copy($filepath,
$tmpfname))

I wonder if it would be possible to use move_uploaded_file() instead of
copy() as this only restricts the destination directory? It is also more
secure, because only uploaded files can be moved...

      Balu