equired PHP version greater than equal to 5.4.0 AND found version is : 5.3.29 - Softaculous Prestashop not picking up correct php version

You may come across an issue while installing Prestashop via Softaculous regarding not picking up correct php version.

The error would look similar to the error below -

The following errors were found : Required PHP version greater than equal to 5.4.0 AND found version is : 5.3.29

Solution :

1. Modify the file where softaculous is installed on the server -

2. Make a copy of pre_install.php file before you make any changes.

3. Now, add below code and replace $version = phpversion(); with $version = 5.6;

    function __pre_install()

    global $soft, $software, $globals;
    // Your Code to Identify the PHP version
    // E.g
   $version = phpversion();
   define('php_version', $version);

 Give a try to re-install prestashop via Softaculous and this should work for you.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

sendmail cannot be called directly from a shell with the current user id

While sending email using sendmail scirpt, I was getting the error message as - sendmail:...

How to manually resend notification to user whose disk quota has exceeded on cPanel server?

There are always instances on the cPanel server where some clients want to temporarily increase...

How to reset Joomla Admin Panel Password?

Many times we used to forgot the current password of Joomla Administration panel and get in...

#145 - Table './database_name/table_name' is marked as crashed and should be repair

I was getting below error while accessing one site - Error in establishing database...

root @hostname emails are frozen on the cPanel server

I have configured WHM >> Edit System Mail Preferences page but emails are not getting...

Powered by WHMCompleteSolution