Vtiger CRM script mysql error during Vtiger Installation Wizard

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.1
Webmin version 2.013
Virtualmin version 7.5 Pro
Related packages PHP 8.1, MariaDB 10.6.11

Used VTiger CRM install script, and during first login and defining databases and admin, next screen has mysql error:
MySQL Server should be configured with:
sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

I have attempted that change in my.cnf but then that crashes mysql inside webmin/virtualmin and I have to use terminal to go edit my.cnf back and restart the sql server.

Would love to use this app, any insights would be fantastic.