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
1. Modify the file where softaculous is installed on the server -/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/pre_install.php2. 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
$version = phpversion();
}Give a try to re-install prestashop via Softaculous and this should work for you.
Was this answer helpful?
Composer is as tool which is used to manage the dependencies between the PHP softwares and...
While accessing the Joomla site, I was getting error as - Error displaying the error page: The...
While accessing the website, I was getting the error as -Failed to connect to MySQL: Access...
While restoring the full cPanel backup file in 'tar.gz' format from WHM >> Backup >>...
I have edited the WordPress site page but it was not reflected on the live site.Solution :-1....
Powered by WHMCompleteSolution