Symptoms
-
Roundcube configured in Plesk shows a blank page, 500 error, or:
Unsupported PHP version. Required PHP >= 5.4 and < 8.0.
-
The following error is shown in Apache logs
/var/log/apache2/error.log
:PHP Warning: file_put_contents(/usr/share/errors): failed to open stream: Permission denied in /usr/share/psa-roundcube/program/lib/Roundcube/rcube.php on line 1259
PHP Warning: Configuration error. Unsupported database driver: in /usr/share/psa-roundcube/program/lib/Roundcube/rcube.php on line 136
Cause
fcgid_module
is not enabled in Tools & Settings > Apache Web Server.
Resolution
- Log in to Plesk.
- Go to Tools & Settings > Apache Web Server and enable
fcgid
module. - Click OK.
Click on a section to expand
If for any reason the module fails to be enabled proceed as follows:
-
Connect to the server via SSH.
-
Edit files
etc/apache2/mods-enabled/fcgid.load
and/etc/apache2/mods-available/fcgid.load
:# cat /etc/apache2/mods-enabled/fcgid.load
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so# cat /etc/apache2/mods-available/fcgid.load
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so -
Restart Apache:
# service apache2 restart