Articles in this section

Webmail and websites that use FastCGI are not accessible: PHP files are being downloaded or 403 Forbidden error is displayed

Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux

Symptoms

  • Websites that use FastCGI application are not accessible in a web browser: PHP files are downloaded instead of displayed.
  • Roundcube webmail shows a blank page, Apache default page or "403 Forbidden" error message:

    PLESK_INFO: Forbidden
    You don't have permission to access this resource.

  • One of the following error messages is logged in Apache error log:

    • on CentOS/RHEL-based distributions

      /var/log/httpd/error_log

    • on Debian/Ubuntu-based distributions

      /var/log/apache2/error.log

    CONFIG_TEXT: AH01630: client denied by server configuration: /usr/share/psa-roundcube/favicon.ico, referer:

    CONFIG_TEXT: 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 disabled in Apache configuration.

Resolution

Plesk interface

 

  1. Log in to Plesk.
  2. Go to Tools & Settings > Apache Web Server
  3. Enable fcgid module.
  4. Apply the changes.
Command-line instructions

 

  1. Connect to the Plesk server via SSH.
  2. Run the command:

    # plesk bin optimization_settings --enable-module fcgid

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.