Do you use open_basedir? If yes, you need to add some directories to the path. Here my vhost config:
<VirtualHost x.x.x.x:80> ServerName myroundcube.example.com DocumentRoot /var/www/roundcube CustomLog /var/log/apache2/roundcube_access_log common php_admin_value open_basedir "/var/www/roundcube/:/tmp/:/usr/lib/php" php_admin_value file_uploads 1 <Directory "/var/www/roundcube"> AllowOverride All Options +FollowSymlinks </Directory> </VirtualHost> Where /usr/lib/php is the path to the shared PHP libraries (including pear). On Tue, Dec 27, 2011 at 3:17 AM, Jess Collicott <jes...@live.com> wrote: > Ahhh... I found something in the new install's error log that look's > useful: > > [26-Dec-2011 18:52:00] PHP Warning: finfo_open() [<a > href='function.finfo-open'>function.finfo-open</a>]: Failed to load magic > database at '/usr/share/file/magic'. in > /var/www/rcm/program/include/rcube_shared.inc on line 419 > > Does this trip anything for anyone? > > Thanks! > Jess > ------------------------------ > From: jes...@live.com > To: c...@claudiokuenzler.com; m...@junc.org > Date: Mon, 26 Dec 2011 20:02:34 -0600 > > CC: users@lists.roundcube.net > Subject: Re: [RCU] Not seeing JPG attachments > > I'm hunting around the php.ini file, which was updated 12/3, with the > upgrade to PHP 5.3.8. Are these functions needed by Roundcube? > > ; Whether to allow the treatment of URLs (like http:// or ftp://) as > files. > > allow_url_fopen = Off > > ; Whether to allow include/require to open URLs (like http:// or ftp://) > as files. > > allow_url_include = Off > Thanks, > Jess > ------------------------------ > From: jes...@live.com > To: c...@claudiokuenzler.com; m...@junc.org > Date: Mon, 26 Dec 2011 19:58:23 -0600 > CC: users@lists.roundcube.net > Subject: Re: [RCU] Not seeing JPG attachments > > Well, I created a new Roundcube 0.7 installation, and am still having the > same issues. I even tried sending an e-mail from Roundcube with an image to > itself, and Roundcube couldn't display it. I'm not sure what changed. > > I did a search in the mime.types file, and found an entry for jpeg, but > not one for jpg. The file was last edited in 2007, and I know that images > have worked in Roundcube between now and 2007. > > Hmmm... > > ------------------------------ > Date: Fri, 23 Dec 2011 21:49:59 +0100 > From: c...@claudiokuenzler.com > To: m...@junc.org > CC: users@lists.roundcube.net > Subject: Re: [RCU] Not seeing JPG attachments > > I don't think it has anything to do with the PHP installation itself. > > Jess, I suggest you make a complete new installation of Roundcube 0.7, > just for "the fun of it". > Test, if it works with the new installation, without any additional > plugins. > > [23-Dec-2011 15:55:54] PHP Warning: PHP Startup: Unable to load dynamic > library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/m$ > > These error messages come from a PHP extension, which couldn't be loaded. > This can cause segfaults of Apache. Don't think this is the main reason > though, as Roundcube still seems to be loaded fine, but you just can't see > the images. > Make sure that the webserver knows how to handle jpg files (check > mime.types). > > > On Fri, Dec 23, 2011 at 8:56 PM, Benny Pedersen <m...@junc.org> wrote: > > On Fri, 23 Dec 2011 11:09:26 -0600, Jess Collicott wrote: > > > [23-Dec-2011 08:40:33] PHP Warning: PHP Startup: Unable to load > > dynamic library > > apache and php dont agree on threads supported, need to remove php > completely and restall (thread supported) php version if apache is > thread suppported > > if not thread supported apache install the non threaded version of php > should work > > its my best guess :) > > > -- > List info: http://lists.roundcube.net/users/ > BT/86b78bab > > > > -- List info: http://lists.roundcube.net/users/ > BT/8dff8b77<http://lists.roundcube.net/users/BT/8dff8b77> > > -- List info: http://lists.roundcube.net/users/ > BT/8dff8b77<http://lists.roundcube.net/users/BT/8dff8b77> > > -- List info: http://lists.roundcube.net/users/ > BT/8dff8b77<http://lists.roundcube.net/users/BT/8dff8b77> > > -- > List info: http://lists.roundcube.net/users/ > BT/e21360c6 > >
-- List info: http://lists.roundcube.net/users/ BT/8f4f07cd