cancel
Showing results for 
Search instead for 
Did you mean: 

Your PHP version is 7.0.6. The required PHP version is ~7.0.13|~7.1.0.

Your PHP version is 7.0.6. The required PHP version is ~7.0.13|~7.1.0.

I hope someone can help me...

 

I'm trying to install Magento-CE 2.2.5 on my MediaTemple server (GridServer)

When I ran the startup installation, I got the following warning:

 

"Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later"

 

I changed the version of my server, to version 7.0.6 but when I do this I get the following error:

error.PNG

Does anyone know how to avoid this? There is some patch or some way to install it in version 7.0.6 and I have no way to put another version on my server.

 

thanks for your help!

1 REPLY 1

Re: Your PHP version is 7.0.6. The required PHP version is ~7.0.13|~7.1.0.

Hello @unpezcado,

 

Magento core checks if PHP_VERSION_ID is set and has right version number.

 

if (!defined('PHP_VERSION_ID') || !(PHP_VERSION_ID === 70002 || PHP_VERSION_ID === 70004 || PHP_VERSION_ID >= 70006)) {
    if (PHP_SAPI == 'cli') {
        echo 'Magento supports 7.0.2, 7.0.4, and 7.0.6 or later. ' .
            'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html';
    }
}

so you have to check which value your PHP_VERSION_ID used.

 

 

--
If my answer is useful, please give Kudos & Accept as Solution