Php 7.1.17 required!
-
Hi, I am using php 7.1.9 but does not let me install it, keep asking for php 7.1.17!
-
Can you attach a screenshot of error.
-
Thank you Rahul, here is the screenshot: !
-
Hi,
In your Project's public folder, there you can find a folder name installer, open 'Requirement.php' file of which is inside 'Classes' folder, here you can see a function name 'checkPHPversion'.
Replace the below code in that function./**
* Check PHP version requirement.
*
* @return array
/
public function checkPHPversion()
{
/*
* Minimum PHP Version Supported (Override is in installer.php config file).
*
* @var _minPhpVersion
*/
$_minPhpVersion = '7.1.17';$currentPhpVersion = $this->getPhpVersionInfo(); $supported = false; if (version_compare((str_pad($currentPhpVersion['version'], 6, "0")), $_minPhpVersion) >= 0) { $supported = true; } $phpStatus = [ 'full' => $currentPhpVersion['full'], 'current' => $currentPhpVersion['version'], 'minimum' => $_minPhpVersion, 'supported' => $supported ]; return $phpStatus; }
Thanks
-
Rahul,
Many thanks, it works. -
Many thanks