Does setting the php_version in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_upgrade.php not work any more?
PHP Code
function __pre_upgrade($installation){
global $soft, $software, $globals;
// Do stuff here e.g. is as follows
if($soft == 26){ /* Do things only if its WordPress */ }
if ($soft == 98) {
define('php_version', "5.4.37");
}
}
Moodle still complains about PHP not being new enough.