I'm trying to begin using PHP-FPM as a replacement for FCGID/mod_fcgid on our Virtualmin Professional 6.07 system running on CentOS 7, but am having a problem getting Virtualmin to recognize that PHP-FPM support is available.
I've compiled PHP 7.2.22 from source with a prefix of /opt/rh/php72 and with the --enable-fpm option passed to the configure command. I've even put a php-fpm.conf file in /opt/rh/php72/root/etc and a www.conf file in the same directory. But when I use Virtualmin's "Re-check Configuration" tool, I always get the message that "No PHP-FPM packages were found on this system." Virtualmin does, however, successfully detect PHP 7.2.
I also created a service file in /usr/lib/systemd/system/php-fpm.service and started the /opt/rh/php72/sbin/php-fpm daemon (by way of the service file) before re-checking the configuration again, to no avail.
I don't have any PHP or PHP-FPM "packages" installed through YUm as I would rather compile PHP from source. How can I get Virtualmin to recognize PHP-FPM even if it wasn't installed from a package?