On virtualmin the php on bash doesn’t have the php.ini file configured.
I have the default file on the php cli .
On ubuntu 20.04 the php cli have this configuration file : /etc/php/7.4/cli/php.ini
But i use the file : /home/USER/etc/php7.4/php.ini on apache
So the configuration i have made in php.ini is not used on php cli for this user.
i have to add in .bashrc for this user :
alias php=‘php -c ~/etc/php7.4/php.ini’
Can you add this to user configuration on creating and changing default php version ?