• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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