• 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.

FastCGI Unavailable

O

oleo80

Guest
Hi all,
I've recently upgraded Plesk Panel to 11.x and I can't set FastCGI as the default PHP handler for domains.

When I create Service Plans, the FastCGI option is available but inside the settings for each domain I can only see "CGI Application".

You can see what I'm talking about in the attached screenshot (it's in italian, sorry)

That's quite strange: any ideas?

Thanks!
 

Attachments

  • Impostazioni di hosting per erilab.com - Parallels Plesk Panel 11.0.9.png
    Impostazioni di hosting per erilab.com - Parallels Plesk Panel 11.0.9.png
    105.8 KB · Views: 28
What sort of output command

# /usr/local/psa/bin/domain -u domain.com -php_handler_type fastcgi -fastcgi true

?
 
/usr/local/psa/bin/domain -u erilab.com -php_handler_type fastcgi -fastcgi true

WARNING: mod_php è disabilitato perchè Parallels Panel funziona in modalità*ottimizzata per VPS fastcgi è disabilitato perchè Parallels Panel funziona in modalità* ottimizzata per VPS
WARNING: fastcgi è disabilitato perchè Parallels Panel funziona in modalità* ottimizzata per VPS
SUCCESS: Update of domain 'erilab.com' completed.

Translated from Italian:
WARNING: mod_php is disabled because Parallels Panel works optimized for VPS
WARNING: fastcgi is disabled because Parallels Panel works optimized for VPS
 
Ok, thanks!
I didn't know these kind of optimizations. I've a VPS on a big italian hosting service provider (Aruba) so I haven't setup Plesk on my own.

Is there any possibility to enable fastcgi in these conditions?
There's another guide that I can follow to start learning more about Plesk?

Many thanks!
 
Ok! That's a good starting point! I'll read the guides on my holidays... this is the "long term solution".

And what about my first question? Is there a "short term solution" in order to have fastcgi enabled?
 
Look at the options:

# /usr/local/psa/bin/vps_optimized --help
Option "help" is not recognized.
Usage: /usr/local/psa/bin/vps_optimized [ options ]
--status Gets status of the VPS-optimized mode settings
--turn-on Enables the VPS-optimized mode for the specified aspect
--turn-off Disables the VPS-optimized mode for the specified aspect
--aspect <string> Specifies aspects to be affected. See a list of available aspects below
The following can be specified as an aspect:
mysql-innodb
apache-modules-all
apache-modules-except-php
apache-modules-except-scripting
If an aspect is not specified, the default set of aspects will be used.
And try to disable it.
 
The command
# /usr/local/psa/bin/vps_optimized --status

returns that I've apache-modules-all enabled, so I've tried:

# /usr/local/psa/bin/vps_optimized --aspect apache-modules-all --turn-off

...but it seems having no effect because status is still apache-modules-all = on.

Now I've opened a ticket at my HSP.
Thanks a lot for your help and the link to the guides!
 
I have the same problem, but the command
Code:
# /usr/local/psa/bin/domain -u domain.com -php_handler_type fastcgi -fastcgi true
only gives this message:
Code:
Wrong value of php_handler_type, it can take only CGI application, Apache module
Are there any other possible reasons why FastCGI is not available within the Hosting Configuration of one Domain? (But it is available as an option in the Service Plan)
 
Back
Top