Hello guys, I have a recent installation of ISPConfig and the dashboard happens to not be showing PHP for a single site. Does anyone know why and how to adjust? Occurrence: Other website: Thanks!!
Apparently everything is ok at the clients limits. That same client has another site on a subdomain and PHP-FPM appears in the listing normally.
But PHP-FPM or other php option doesn't appear in client limit settings: The main site does not show the options to enable PHP as shown in the images above. But in a subdomain of the same client the option appears:
@till have you ever gone through something similar? I've tried searching here on the forum and elsewhere but haven't found anything related.
Just logging for future reference, the default php handler was disabled in server configuration options. Enabling php-fpm as default returned the option in the php selector on sites.
I know... old thread but I found it looking for known solutions to MY problem, and I guess it has similar reasons... Here is mine: - several PHP-Versions are installed (Debian 11, ISPconfig 3.3.1p1, installed from bare Debian with autoinstaller the other day) - System -> Server config shows ALL possible PHP handlers in the dropdown "Default PHP Handler" (Fast-CGI, CGI, Mod-PHP, SuPHP, PGP-FPM, HHVM) - on a specific website (Sites -> Website -> XXX) in the dropdown for "PHP" I only see "Disabled" and "PHP-FPM". Comparing to another ISPconfig master there should be at least "Fast-CGI, Mod-PHP, PHP-FPM" to chose from for any web server, but on this server there is only this one. All settings for the different PHP-versions are correct and the same on this and on the other ISPconfig. Any idea?
If you do not see any PHP versions in the dropdown, then you either did not add them on the master for the slave node under System > PHP versions with proper php-fpm settings, or you limited PHP versions to a specific client, which means other clients are not permitted to use them. Please do not reopen such old threads; the likelihood that your issue is related is really low.
I see ALL php versions in the dropdown everywhere. The problem is the lack of different handlers besides PHP-FPM in the website dropdown.
You probably use Nginx then, which supports php-fpm only. Besides that, other handlers should not be used on Apache as they are outdated and will get removed step-by-step in the future.
No, it's Apache. I tried a2enconf php7.4-cgi ... and now on NEW sites I see two options - Fast-CGI and PHP-FPM. With hold sites I have only the one option PHP-FPM. Is a2enconf really the reason for the new option? How could I enable these options for the existent sites?
No, it's not related. A PHP mode is available when you enabled it under System > interface config, its setting for the PHP version are complete and not missing, and you did not disable the mode for that specific client. You should not enable them as php-fcgi is the predecessor of php-fpm, so its an old mode and will get removed. Which means if you enable it now, you will have to reconfigure all sites in the future when it becomes unavailable. PHP-FCGI offers no benefits over PHP-FPM.