Why can't I choose php 7.4 with fcgid?

SYSTEM INFORMATION
OS type and version UBUNTU22
Webmin version 2.001
Virtualmin version 7.2-1
Related packages SUGGESTED

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
image

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?

@shenkwen,

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.

Perhaps @Joe or @Ilia might know what the missing packages are.

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:

https://www.virtualmin.com/documentation/repositories/

The guide to which PHP package should be installed to work correctly:

https://www.virtualmin.com/documentation/web/multiplephp/

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.