- Server operating system version
- Ubuntu 20.04.6 LTS
- Plesk version and microupdate number
- Plesk Obsidian 18.0.74 Update 3
I am running Plesk Obsidian 18.0.74 on Ubuntu 20.04.
Multiple domains show 500 Internal Server Error in Webmail (Roundcube).
Root cause analysis so far:
Webmail virtual hosts generated by Plesk use mod_fcgid and set:
• PP_CUSTOM_PHP_CGI_INDEX = “fastcgi”
• PP_CUSTOM_PHP_INI = “/etc/php/7.4/apache2/php.ini”
This forces Webmail to use OS PHP 7.4 FastCGI with the Apache2 php.ini profile.
However:
• PHP 7.4 CGI actually runs with /etc/php/7.4/cgi/php.ini
• Forcing the apache2 php.ini in FastCGI causes instability
• php-cgi outputs warning: Module 'kolabformat' already loaded
• Apache error log shows: Connection reset by peer
• Result: Webmail returns HTTP 500
Important details:
• OS PHP 7.4 is installed and working (php-cgi 7.4.3, php-cgi7.4)
• PHP 7.4 is NOT registered as a Plesk PHP handler
• Only Plesk PHP versions (8.3 / 8.4 / 8.5) are available as handlers
• When Webmail is forced to plesk-php83-fastcgi with /etc/psa-webmail/roundcube/php.ini, Webmail works perfectly
Problem:
Plesk regenerates Webmail configs on httpdmng --reconfigure-all and always falls back to:
• generic "fastcgi"
• /etc/php/7.4/apache2/php.ini
This breaks Webmail repeatedly.
Questions:
1. What is the official Plesk-supported way to fully stop using OS PHP 7.4 for Webmail?
2. Should Webmail always use Plesk PHP handlers instead of system PHP?
3. Is Ubuntu 20.04 + OS PHP 7.4 an unsupported / legacy setup for Webmail?
4. How can the Webmail PHP handler be fixed permanently without custom sed/overrides?
Current workaround:
• Manually rewriting Webmail vhosts to use plesk-php83-fastcgi
• Works, but is overwritten by Plesk regeneration
Any official guidance would be appreciated.
Multiple domains show 500 Internal Server Error in Webmail (Roundcube).
Root cause analysis so far:
Webmail virtual hosts generated by Plesk use mod_fcgid and set:
• PP_CUSTOM_PHP_CGI_INDEX = “fastcgi”
• PP_CUSTOM_PHP_INI = “/etc/php/7.4/apache2/php.ini”
This forces Webmail to use OS PHP 7.4 FastCGI with the Apache2 php.ini profile.
However:
• PHP 7.4 CGI actually runs with /etc/php/7.4/cgi/php.ini
• Forcing the apache2 php.ini in FastCGI causes instability
• php-cgi outputs warning: Module 'kolabformat' already loaded
• Apache error log shows: Connection reset by peer
• Result: Webmail returns HTTP 500
Important details:
• OS PHP 7.4 is installed and working (php-cgi 7.4.3, php-cgi7.4)
• PHP 7.4 is NOT registered as a Plesk PHP handler
• Only Plesk PHP versions (8.3 / 8.4 / 8.5) are available as handlers
• When Webmail is forced to plesk-php83-fastcgi with /etc/psa-webmail/roundcube/php.ini, Webmail works perfectly
Problem:
Plesk regenerates Webmail configs on httpdmng --reconfigure-all and always falls back to:
• generic "fastcgi"
• /etc/php/7.4/apache2/php.ini
This breaks Webmail repeatedly.
Questions:
1. What is the official Plesk-supported way to fully stop using OS PHP 7.4 for Webmail?
2. Should Webmail always use Plesk PHP handlers instead of system PHP?
3. Is Ubuntu 20.04 + OS PHP 7.4 an unsupported / legacy setup for Webmail?
4. How can the Webmail PHP handler be fixed permanently without custom sed/overrides?
Current workaround:
• Manually rewriting Webmail vhosts to use plesk-php83-fastcgi
• Works, but is overwritten by Plesk regeneration
Any official guidance would be appreciated.