This was working under CentOS, and Debian, but i had issues with both of them, so I switched to Ubuntu 20,
Database Error: Unable to connect to the database:Could not connect to MySQLDatabase Error: Unable to connect to the database:Could not connect to MySQL
These commands run fine, it sees php5.6
virtualmin fix-domain-permissions --all-domains
virtualmin validate-domains --all-domains --feature web
I have no choice to be use php5.6, those are old CMS's no one wants to upgrade.