cancel
Showing results for 
Search instead for 
Did you mean: 

PHP 7.4 support for Magento 2.3.x release line

michernenko
Senior Member

We are extending security support for the Magento 2.3.x release line for an additional three months (through April 2022). Considering that support for PHP 7.3 ends in December 2021, we will be introducing PHP 7.4 compatibility to the release of Magento Commerce and Magento Open Source 2.3.7 in May 2021. For compliance reasons, we encourage all merchants to upgrade to PHP 7.4 before December 2021 - even those still using Magento 2.3. While Magento 2.3.7 and later 2.3.x versions will still be compatible with PHP 7.3, Adobe will not be testing with PHP 7.3, nor will Adobe release any fixes for PHP 7.3Given that Magento 2.4.x already supports PHP 7.4with the Magento 2.3.7 release, both 2.3.x and 2.4.x will have PHP 7.4 as the recommended PHP version.   

 

Compatibility considerations 

Magento 2.3.7 introduces backward incompatible changes which need to be considered by anyone who has not yet upgraded to Magento 2.4Migration from PHPUnit 6 to PHPUnit 9 (which is what occurred for Magento 2.4.0) is one such change, as it affects the following types of tests:  

  • Static 
  • Unit 
  • Integration 
  • API Functional 
  • Magento Functional Testing Framework. 

See this DevBlog article for details about PHPUnit migration. Additional compatibility considerations are documented in the Magento 2.4 backward incompatibility DevDocs article. 

 

Extension considerations 

Magento Marketplace extension vendors should ensure their extensions are compatible with PHP 7.4 when publishing new versions for Magento 2.3.7 and later. Merchants should thoroughly test and evaluate their store before running a live site on PHP 7.4. 

 

Conclusion 

While added support for PHP 7.4 in the 2.3.x release line will help ensure PHP compatibility through the life of Magento 2.3, we still recommend you evaluate and prioritize an upgrade to Magento 2.4. This will ensure that your organization is positioned for long-term success with the latest, most secure version of Magento. 

4 Comments
Erik Hansen
Certification Board Member

This is great news for all of the merchants running on Magento 2.3.x.

kurpitagma9995
Occasional Visitor

EOL for PHP 7.4 is November 2021 and not further bug patches will be available for PHP 7.4 after November 2020.

 

Is there a mistake in that it should read PHP 8 and not PHP 7.4?

 

If not what happens in November 2020 when bug patches are no longer available for PHP 7.4?

john_fisheye
M2 Certified

@kurpitagma9995 PHP 7.4 is supported until November 2022, not 2021 - see https://www.php.net/supported-versions.php

kurpitagma9995
Occasional Visitor

Only partially true.

 

Security patches will available until November, 2022.

 

Bug patches will not longer be available after November 2021.

 

Not sure why Magento has no roadmap for the signficant first level jump from PHP 7 to PHP 8?