Symptoms
-
PHP pages are offered to be downloaded instead of being displayed properly in FastCGI handler mode.
-
On clicking webmail icon in Plesk > Subscriptions > example.com > Mail > Email Addresses, the
index.php
orlogin.php
file is downloaded. -
When accessing Roundcube or Horde webmail:
- Browser downloadsindex.php
orlogin.php
files
or
- Apache test page is shown:
Cause
fcgid
module for Apache is disabled or corrupted
Resolution
Enable fcgid module either via GUI:
- Log in to Plesk
-
Enable
module via Home > Tools & Settings > Apache Webserver > fcgid
fcgid
Or via CLI:
- Log in to Plesk over SSH
-
Enable it via CLI and restart Apache:
# plesk bin optimization_settings --enable-module fcgid
Note: In case issue persists, reinstall fcgid
module using Plesk autoinstaller : on the "Add and Remove Product Components" screen, the module can be found in Web Hosting > Apache section: