I’ve installed Virtualmin / Apache with multiple php-versions.
If I look into /etc/php there are
cli
cgi
fpm
But in Virtualmin Tools > PHP Configuration per default, there are only cgi and cli configs listed…
It’s easy if you know how to solve this… in the Module-Settings of PHP… but could you please make it per default this way to also show fpm config-files:
I’m saying, adding a new version of PHP properly shouldn’t require any editing of any configuration to get them working.
I’ve started off a system that had “PHP 8.1” then proceeded to add “PHP 8.2” and “PHP 7.4”, each of which became manageable without editing anything prior to.
Seems you might be doing something wrong if you have to edit something.
In Virtualmin > System Settings > Re-Check configuration
Will pull in all your php versions along with any running php-fpm
After that you should have on your Dashboard under Server Status all your php-fpm servers with stop and restart functions.
In virtualmin under each account:
Services > PHP-FPM Configuration
Edit to add:
If you did the first Re-Check Configuration option than you will be able to see the php-fpm servers under
Webmin > Tools > PHP Configuration
I think I’ve used this multiple times - as I do playing around a bit with this test-server.
As the PHP-Installation was pretty early at this server, I think this “re-check config” didn’t do the job as you mentioned.
But if this “generally” is no Bug, then it’s ok for me. I only would like to contribute feedback to optimize VM / webmin.
I apologize for the misunderstanding. It’s probably my fault.
I’m not to lazy to search…
Your sentence structure was just confusing or difficult to understand to me.
It sounded like you were referring to a dialogue between me and Joe. But since I wasn’t aware that I’d asked this before and since I didn’t see a response from Joe here in the thread. (I’m also just a human, it might be that I’ll ask that before but forget it…, that’s why I just ask you for that)
So it seems to be just a simple language based issue, caused by translation problems. No reason to switch into attack mode.
/etc/php*/cli/php.ini,/etc/php/*/cli/php.ini=Configuration for CLI
/etc/php*/fpm/php.ini,/etc/php/*/fpm/php.ini=Configuration for FPM
/etc/php*/cgi/php.ini,/etc/php/*/cgi/php.ini=Configuration for CGI
/etc/php*/apache2/php.ini,/etc/php/*/apache2/php.ini=Configuration for <tt>mod_php</tt>