That does not address the issue. It does have information on how to run the Nextcloud occ utility using a specific php version, but not how to get apache to use a specific php version to run Nextcloud.
I suspect the answer will be to change this part of the zz-nextcloud.conf:
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9002"
</FilesMatch>
but the template /etc/e-smith/templates/etc/httpd/conf.d/zz_nextcloud.conf/10base has
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/rh-php72-php-fpm/nethserver-nextcloud-php72.sock|fcgi://localhost/"
</FilesMatch>
so not sure what is going on. I’ll try to take a look later today - but about to pick up my four year old so … maybe monday.