Softaculous


Topic : pre_upgrade hook


Posted By: sparek on January 27, 2015, 4:13 pm
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.

Posted By: sparek on January 27, 2015, 4:26 pm | Post: 1
I guess Moodle is 503 now instead of 98.

Posted By: Brijesh on January 28, 2015, 8:17 am | Post: 2
Hi,

The script id for Moodle 2.8.2 is 503 Moodle 2.6.7 is 98

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.