Create New Server - AUto Install WP - Error

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.5
Virtualmin version 7.20.2

Auto installing WP on a new server used to work fine, but now it has stopped, with the install error:

Installing third-party web apps …

Installing wordpress version 6.6.2 …
Checking PHP modules …
Installing required PHP mysqli module …
… could not find domain’s php.ini file
… done

I can install WP manually!

I added PHP 8.3 (using 8.1) and made that the standard, but that did not help.

There is a similar help topic a month or so ago, but this is a different error!

Sorry, just reposted under a separate topic!

Forgot to mention - manual install of WP via web apps works fine