• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Horde or roundcube stopped working

JoosuasS

New Pleskian
Hello!

After last autoupdate of panel (v. 11.5.30) all webmail applications stopped working. I have tried to remove horde and roundcube, drop horde db, remove horde directory from /etc/psa-webmail and reinstall horde but it doesn't help. I just get error:

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers: index.php

in error log when entering to webmail page?
 
Let me guess. PHP in fcgi mode on your sites doesn't work either. Please search these forums for this error.
 
I have search this error and found solution to disable safe mode and magic quotes. It didn't help.
Added CGI_PHP_BIN /usr/bin/php-cgi to /etc/psa/psa.conf. It didn't help.
 
Last edited:
I have found that php will generate immediately internal server error if I "require" something in php file, which doesn't exist.
 
The problem seems to be with some access rights. I disabled mod_fcgi by commenting out from /etc/apache2/plesk.conf.d/horde.conf:

# <IfModule mod_fcgid.c>
# FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
# FcgidInitialEnv PP_CUSTOM_PHP_INI "/etc/psa-webmail/horde/horde/php.ini"
# FcgidMaxRequestLen 134217728
# <Directory "/usr/share/psa-horde">
# <Files ~ (\.php$)>
# SetHandler fcgid-script
# FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
# Options +ExecCGI
# </Files>

# Order allow,deny
# Allow from all
# </Directory>
# </IfModule>

and changed file permissions and group "chgrp www-data /etc/psa-webmail/horde/.horde.shadow" and "chmod g+r /etc/psa-webmail/horde/.horde.shadow".

It still doesn't work with mod_fcgi, so probably there is still some access right problem. Any ideas?
 
Back
Top