Operating system: Centos
OS version: 8.3.2011
VM GPL, it came with PHP 7.2 on centOS 8, today I installed PHP 7.4 using this Multiple PHP Versions | Virtualmin .
(Have done multiple time in past with other servers) Everything went fine. Rechecked Virtualmin configuration, it showed new php and added missing php.ini file for me. Switched to new PHP version for a domain and it was working.
However, to verify, I created a phpinfo() file, uploaded it.
Now interesting thing is happening, on each request I am seeing alternate version of PHP, some its showing 7.2 and then next load, 7.4 . I tried multiple refresh and each time PHP version is not same.
Other than that, since its LEMP, I needed few directives changed in php-fpm, so I copied from PHP 7.2 php-fpm data to PHP 7.4 for that domain. (initially PHP 7.4 fpm file was empty)
Example : /etc/php-fpm.d/159385722838518.conf
May be I messed something here but no idea.