Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Softaculous Application Installer PHP version error  (Read 2897 times)

0 Members and 1 Guest are viewing this topic.

vyshakhv

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Softaculous Application Installer PHP version error
« on: March 31, 2018, 03:47:52 pm »
While installing the 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.

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 -
Code: [Select]
function __pre_install(){
global $soft, $software, $globals;
$version = '5.4.45';
define('php_version', $version);