cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento System .."

Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento System .."

Hi,

 

I have installed Magento 2.3 successfully. However, when I access the home page (http://mydomain/magentohome), I see below message. Magento System requirement link points to 2.2 version. Can someone please help me with this?

Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento System Requirements.

 

Below are few additional details

>> php bin/magento --version

Magento CLI 2.3.0

 

>> php -v

PHP 7.1.26 (cli) (built: Jan 14 2019 19:44:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.4, Copyright (c) 2002-2018, by ionCube Ltd.

 

 

5 REPLIES 5

Re: Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento S

If its any help, installing 2.3 has been problematic until I installed on PHP 7.2

now it loads perfectly

Makse sure your "php_value memory_limit 10000M" matches your hosts ini settings

 

Here are all the libraries I installed to get it right:

PHP 7.2

build

libc-client

libc-client-devel

libc-client-static

pear

php-bcmath

php-bz2

php-calendar

php-cli

php-common

php-curl

php-dba

php-dbg

php-devel

php-enchant

php-exif

php-fileinfo

php-fpm

php-ftp

php-gd

php-gettext

php-gmp

php-iconv

php-imap

php-intl

php-ioncube10

php-ldap

php-litespeed

php-mbstring

php-mysqlnd

php-odbc

php-opcache

php-pdo

php-pgsql

php-phalcon

php-posix

php-process

php-pspell

php-snmp

php-soap

php-sockets

php-sourceguardian

php-tidy

php-xml

php-xmlrpc

php-zip

runtime

scldevel

Additional Packages

apr

apr-util

apr-util-ldap

brotli

cpanel-tools

documentroot

libcurl

libmcrypt

libnghttp2

libtidy

libxml2

modsec-sdbm-util

nghttp2

openssl

openssl-devel

php-cli

php-cli-lsphp

Re: Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento S

@karunakar_pottabathini 
You need to be using PHP 7.3+ not 7.2.X
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

@Larry_Ruiz 
Will assume 10000MB was a typo and you meant 1000MB for PHP memory limits?
Here is the recommended settings for memory limits:
https://devdocs.magento.com/guides/v2.3/install-gde/prereq/php-settings.html

--
Problem solved? Click Accept as Solution!

Re: Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento S

since i use cPanel to manage - 7.3 is not yet available ( i don't use their cloud linux)

it has been serving fast and error free with 7.2

and yes 10GB mem limit was on purpose, for that particular build there are over 10K products. when time comes to crunch data - that store needs the extra.

Re: Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento S

That is a crazy high memory limit to be setting on PHP especially given this memory limit is per process.

 

Having worked on very large Magento stores which have 100K+ products I can honestly say I've never needed to set the memory limit higher than 4096 and that was an extreme case where the end-user was doing very heavy back-end reporting that ultimately they ended up moving to a slave server.

--
Problem solved? Click Accept as Solution!

Re: Magento 2.3 + "Magento supports PHP 7.0.2, 7.0.4, and 7.0.6 or later. Please read Magento S

How to change PHP version

Open .htaccess file from project root dir, and edit it any text editor.

Add below code in file and uncomment required version by removing # like in last line for php7.4 (SetHandler proxy:fcgi://php74-fpm)

<FilesMatch "\.php$">

## Uncomment below to run php7.4

SetHandler proxy:fcgi://php74-fpm



</FilesMatch>

Save or upload file and check by running info.php

If still error using "php bin/magento" then check php version available

php7.4 -v if result show version then use

php7.4 bin/magento 

It's work for me.