Hello,
I am the technical supervisor for a webhosting company called OrangeWebsite. We run the latest cPanel with EA4 and MultiPHP 5.6 and 7.0, a client came to us today with
Posted on Monday 10th July at 21:12
Hi there!
Quote Sorry, I am still having problems trying to install with Softaculous:
Required PHP version greater than equal to 5.6.0 AND found version is : 5.6
Maybe this needs to be applied: ..../docs/Hooks#Change_PHP_Version
Thanks,
B
Then I looked into the file to change, and changed the following
Quote Editing file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_install.php
from
function __pre_install(){
global $soft, $software, $globals;
// Do stuff here e.g. is as follows
$version = '5.6';
define('php_version' , $version);
if($soft == 26){ /* Do things only if its WordPress */ }
}
to
function __pre_install(){
global $soft, $software, $globals;
// Do stuff here e.g. is as follows
$version = '5.6.0';
define('php_version' , $version);
if($soft == 26){ /* Do things only if its WordPress */ }
}
That resolved the issue and I am running the latest Softaculous so to give the information
WHM 64.0 Build 30
EasyApache 4
MultiPHP 5.6 and 7.0
Softaculous Latest
Fixing the file fixed this issue, but we have so many other server nodes? I would much rather get a patch on this? because when I fix this, does this not get overwritten if we do a softaculous update?..
Anyway this is a bug as far as i can see.
|