cancel
Showing results for 
Search instead for 
Did you mean: 

Does M2 support/install on PHP7.4.8?

SOLVED

Does M2 support/install on PHP7.4.8?

Hi all,

 

Just a quick question.

 

Is [the latest version of] M2 strictly checking for and only supported on PHP 7.4.0? Or should any minor version of 7.4 be supported?

 

Thank you Smiley Happy

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Does M2 support/install on PHP7.4.8?

The repo we use (Remi) only appears to provide the latest security/fix release of each major PHP version, which is understandable and expected.

 

This is for a production commercial ecomm platform, so we wouldn't want to install it on a lesser version (with known vulnerabilities or bugs).

 

If "~7.4" is supposed to mean "all releases of 7.4", then that answers our question though, and the M2 installer should be accepting 7.4.8 as a valid and supported version of PHP. I will let our developer know.

 

Thanks.

View solution in original post

5 REPLIES 5

Re: Does M2 support/install on PHP7.4.8?

Hi @hgpit ,

 

You can more information regarding php version supported by magento 2.4.0 on below link

https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Does M2 support/install on PHP7.4.8?

Hello,

We've already looked over the documentation, but it's not clear enough.

It says "~7.4.0", not "<7.5" or "7.4.x" or ">=7.4 and <7.5"

 

We have a developer who has tried to install M2 on a 7.4.8 platform and it's failing to install due to an incompatible PHP version, so we wanted to be sure what the official status was.

Re: Does M2 support/install on PHP7.4.8?

Hi @hgpit ,

Tilde means next significant release. In our case, it should equivalent to >= 7.4.0, < 7.5.0.

 

Generally it should work with 7.4.8 php version as well. But did you try it with some other php version as well like 7.4.6.

There is a bug in PHP 7.4.2 which causes some messages to not render properly. Magento recommends using other versions of 7.4.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Does M2 support/install on PHP7.4.8?

The repo we use (Remi) only appears to provide the latest security/fix release of each major PHP version, which is understandable and expected.

 

This is for a production commercial ecomm platform, so we wouldn't want to install it on a lesser version (with known vulnerabilities or bugs).

 

If "~7.4" is supposed to mean "all releases of 7.4", then that answers our question though, and the M2 installer should be accepting 7.4.8 as a valid and supported version of PHP. I will let our developer know.

 

Thanks.

Re: Does M2 support/install on PHP7.4.8?

Hii,

 

Hope it helps.

 

Latest release of Magento 2 versions are supported on PHP 7.4 but the versions like 7.4.x that is not specified according to the Magento guidelines. 

 

You can check this document out.