• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Cannot use FastCGI

Fritz MichaelG

Basic Pleskian
[solved] Cannot use FastCGI

I am running a Plesk Panel 11.5.30 installation on a Debian 7.0 Root Server. For some reason I cannot choose "FastCGI" under "Hosting Settings" for a Domain. Only "Apache module" and "CGI application" are available in the dropdown menu. It is available within the Service Plan settings though. Also all the modules required for FastCGI are running. If I try to manually set FastCGI via
Code:
/usr/local/psa/bin/domain.com -u domain.com -php_handler_type fastcgi -fastcgi true
I only get
Code:
Wrong value of php_handler_type, it can take only CGI application, Apache module
What could be the reason that FastCGI isn't available for any of my configured domains?
 
Last edited:
VPS is not enabled. Output of /usr/local/psa/bin/vps_optimized --status
Code:
VPS Optimized mysql-innodb: off
VPS Optimized apache-modules-all: off
VPS Optimized apache-modules-except-php: off
VPS Optimized apache-modules-except-scripting: off

Also the error I get when running /usr/local/psa/bin/domain.com -u domain.com -php_handler_type fastcgi -fastcgi true is
Code:
Wrong value of php_handler_type, it can take only CGI application, Apache module
and not
Code:
WARNING: mod_php is disabled because the Panel operates in the VPS-optimized mode.fastcgi is disabled because the Panel operates in the VPS-optimized mode.
SUCCESS: Update of domain 'DOMAIN.TLD ' completed.


What else could the problem be?
 
Any other ideas? I really need to figure out how to enable FastCGI with my Plesk Panel Installation...

Just to add: in the Service Plans I can enable
Code:
Perl support
Python support
FastCGI support (required for Ruby on Rails)
However, neither of these 3 options can be set in the Subscriptions in the actual Hosting Settings.
 
Turns out the module simply wasn't installed (for Plesk at least? though the module was always present, at least as far as I checked). I ran

# /usr/local/psa/admin/sbin/autoinstaller

And installed the missing fcgid package. Now I am able to select FastCGI.
 
Back
Top