I have a Centos 7 box running VM 4.14. There are 3 x php versions installed from the remi repo: 5.4, 5.5, 5.6 and all are successfully recognised by VM and can be changed via the PHP Versions option in the virtual server config.
However, there are 2 failures that are quite frustrating:
When I try to modify the server templates and choose the default php version for new virtual servers, it fails to save with the error:
PHP scripts cannot be run as the domain owner unless the php command is installed
When I try to run script installers (specifically Wordpress, and not by choice!) it results in an error saying it is unable to determine the php version.
My guess is that they are both related, as it appears to be php version detection that is somehow failing. Is it possible that someone could help me debug this please?
From shell both
php -v and
php-cgi -v return the version as expected.
I've checked in /etc/webmin/miniserv.error and there's nothing of relevance there.