While installing application via Softaculous Application Installer it appears the following error message :
Required PHP version greater than equal to 5.4.45 AND found version is : 5.3.3.
Required PHP version greater than equal to 5.4.45 AND found version is : 5.3.3.
Note : In this case the server has PHP 5.3.3 version and the script required higher version.
Solution :
1. Login to your server.
2. Rename the "pre_install.txt" file located in /usr/local/softaculous/enduser/hooks/ path to "pre_install.php".
3. Add below code to identify the PHP version and try to re-install the application -
2. Rename the "pre_install.txt" file located in /usr/local/softaculous/enduser/hooks/ path to "pre_install.php".
3. Add below code to identify the PHP version and try to re-install the application -
function __pre_install(){
global $soft, $software, $globals;
// Do stuff here e.g. is as follows
$version = '5.4.45';
define('php_version', $version);
That's it!
global $soft, $software, $globals;
// Do stuff here e.g. is as follows
$version = '5.4.45';
define('php_version', $version);
That's it!