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

Domain hosting Settings: PHP support - does not work

Michael Wa.

Basic Pleskian
Hi there,

I've got the problem that I'm not able to change the PHP support (run as CGI application) zu FastCGI.
The dropdown only shows PHP support (run as CGI application)

(I migrated from Plesk 10 to 11)
On some other Domains in Plesk it's possible to switch to FastCGI or to Apache Module.

Any ideas how I can switch from CGI to FastCGI ??
I can change it in the "Service Plan" settings however this does not work for the mentioned domains either.

thanks!
 
Are you sure that you have corresponding permissions in subscription?
 
hmmm I'll check this. thanks.

Which permission setting does affect the php mode?

Even if I select the "Unlimited" service plan, I can not chnage from CGI.
 
Last edited:
Make sure once you changed the corresponding service plan, you clicked sync. ALSO ensure the subscription in question is not locked to deny the sync changes.
 
My default settings are as follows.

;; The section describes allowed hosting options
[hosting]
;php = any
;php_handler_type = fastcgi
;python = off
;perl = off
;fastcgi = any
;miva = off
;ssi = any
;ssl = on
;shell = /usr/local/psa/bin/chrootsh
;asp = any
;php_safe_mode = on
;coldfusion = off

Do you think commenting IN the fastcgi lines may help?
 
PHP Version

Please find attached the option where you change the version of php. Its under service plans -> customization. You could do the same with the subscription it self.

Please let me know if that answers your question or not ...
 

Attachments

  • servicePlan.jpg
    servicePlan.jpg
    75.3 KB · Views: 17
Hi Abdi,

yes that's where I try t change the settings. However my drop down only allows me to select "CGI application" instead of "fast CGI"
 

Attachments

  • plesk-bug.jpg
    plesk-bug.jpg
    141.7 KB · Views: 9
Drop down in service plan does not check capabilities of server - all handlers are displayed here.
Drop down in subscription checks what is realy available.

Looks like you have not installed components required by fastCGI mode.
Check it manually:
/usr/local/psa/admin/bin/packagemng -l | grep psa-mod-fcgid-configurator
apachectl -M | grep fcgi

Possibly you should install it in Autoinstaller > Plesk hosting features > Apache mod_fcgid module
Or only enable in Plesk > Tools & Settings > Apache Modules
 
Plesk 11 and Nginx

Drop down in service plan does not check capabilities of server - all handlers are displayed here.
Drop down in subscription checks what is realy available.

Looks like you have not installed components required by fastCGI mode.
Check it manually:
/usr/local/psa/admin/bin/packagemng -l | grep psa-mod-fcgid-configurator
apachectl -M | grep fcgi

Possibly you should install it in Autoinstaller > Plesk hosting features > Apache mod_fcgid module
Or only enable in Plesk > Tools & Settings > Apache Modules

I disabled NGINX because i was getting Gateway 400 errors, and now it has removed the PHP Support dropdown, no longer shows or runs. So all my sites are down.

I have searched everywhere and could not found how to enable PHP Support. PHP -v shows it installed..

Any ideas?
 
Back
Top