• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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