roundcube problem with suhosin

4 posts / 0 new
Last post
#1 Wed, 08/24/2011 - 13:22
metafor

roundcube problem with suhosin

hi there

i try to set up roundcube globally for a webserver in a subdomain as described here: http://www.virtualmin.com/documentation/id,webmail_and_virtualmin

I run into problem with suhosin: ERROR: Wrong 'suhosin.session.encrypt' option value. Read REQUIREMENTS section in INSTALL file or use Roundcube Installer, please!

phpinfo() tells me that suhosin encrypt is enabled which generally is good. Apparently i have to turn it off for roundcube.

I tried to do this in: vim /etc/php5/apache2/conf.d/suhosin.ini

but with no effect.

anyway, i do not want to have it turned off generally for the whole server. is it possible to turn it off only for a virtual domain?

or is there another workaround which keeps suhosin alive?

any help appreciated.

best m

btw: i use virtualmin 3.87.gpl on squeeze

Wed, 08/24/2011 - 13:42
andreychek

Howdy,

If your Virtual Server is setup to use CGI or FCGID (which is the default), there is a php.ini file just for that particular domain.

You can edit that in $HOME/etc/php.ini.

If you don't immediately see those changes, you may need to restart Apache first with:

/etc/init.d/apache2 restart

Wed, 08/24/2011 - 16:39 (Reply to #2)
metafor

thanks andreycheck

this helped a lot. i changed php.ini this way:

display_errors = Off log_errors = On error_log = logs/errors suhosin.session.encrypt = Off

and now the errors have gone and roundcube is ready.

hope this might help someone.

really grateful marc

Tue, 08/30/2011 - 12:31 (Reply to #3)
webinteractive

I had the same problem today after upgrading to Debian Squeeze.

Thanks!

Topic locked