Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : PHP Version Required error



Normal Mode | Print  

 PHP Version Required error, It's happening when installing programs in cPanel newest release with EA4 MultiPHP (7 Replies, Read 6242 times)
SteiniPe
Group: Member
Post Group: Newbie
Posts: 2
Status:
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.

IP: --   


Threads
 SteiniPe   PHP Version Required error, It's happening when installing programs in cPanel newest release with EA4 MultiPHP (7 Replies, Read 6242 times)
    |--  salman   Hi, We tried...   on July 11, 2017, 6:16 am
    |--  salman   Hi, As you...   on July 11, 2017, 6:36 am
    |--  salman   Hi, As you...   on July 11, 2017, 6:38 am
    |--  SteiniPe    I remember this...   on July 11, 2017, 6:54 am
    |--  salman   Hi, The php...   on July 11, 2017, 9:27 am
    |--  gboyega   Hi, The php...   on January 20, 2018, 4:51 pm
    |--  Brijesh    I have serched...   on January 22, 2018, 11:34 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 26, 2024, 3:36 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024