OS type and version
I created a virtual server with php-fpm and php 8.1. Later I installed php7.4 and can switch between 8.1 and 7.4 under fpm mode.
Now I want to switch to php-fcgid and I have made sure libapache2-mod-fcgid is installed
also the apache module is enabled
But I still can’t choose php7.4.
Also in the server template setting I can’t choose php7.4 either
What did I miss?
I’d personally recommend using PHP-FPM over FCGId…
The reason is, the PHP team themselves manage PHP-FPM while FCGId was more or less a project created prior to the existence of PHP-FPM to basically offer the same functionality that PHP-FPM does.
As for what you are missing, likely a package or two though it’s been a minute since I actually worked with FCGId so you might need to Google the topic if you insist on using it.
@Joe or @Ilia might know what the missing packages are.
March 17, 2023, 7:13pm
The problem here could be a bug in older versions of Virtualmin, which should be fixed when you upgrade to the latest Webmin 2.013 and Virtualmin 7.5.
This guide will help you to fix your repos and install latest package upgrades:
The guide to which PHP package should be installed to work correctly: