2

PHP 7: Security Support Ends. Now what?

 1 year ago
source link: https://thephp.cc/articles/php-7-security-support-ends-now-what
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
PHP 7: Security Support Ends. Now what?

PHP 7: Security Support Ends. Now what?

Security support by the PHP project for PHP 7.4, the final release series of PHP 7, ends today. What does this mean for you?

November 28, 2022

PHP 7.4 was released on November 28, 2019. Active support for this version ended on November, 28 2021. Since then, only critical security issues for PHP 7.4 have been fixed and new versions have only been released as needed.

PHP 7.4: End of Security Support

I explained the terms "active support" and "security support" in an article in 2016, when active support for PHP 5.6 ended.

What this means for you

If you are still using PHP 7.4 (or older), then you are using a version of PHP that has already reached its end-of-life and is no longer supported by the PHP project.

If you are currently using PHP 8.0, then you are using a version of PHP that will reach its end-of-life a year from now. Active support for this version ended two days ago. The PHP project will continue to fix critical security issues for PHP 8.0 until November 26, 2023. However, bugs that are not security-relevant will no longer be fixed for this version.

The outdated version of PHP you are using may still be maintained by the vendor of your operating system. However, this maintenance is usually limited to critical security fixes and does not include backporting of regular bug fixes. You will also miss out on a lot of improvements that have been implemented in PHP.

What you should do

It is high time to plan an upgrade of your PHP stack to PHP 8. This should be a short-term goal for you.

Upgrading the version of PHP you use should not be a rare event that you dread. You must not think of upgrading your PHP stack as a "special project". You need to make upgrading the PHP version you use part of your normal workflow and align the upgrade cycle of your PHP stack with the release cycle of the PHP project. This should be a long-term goal for you.

Frameworks, Libraries, and Tools

While PHP itself is the most important part of your PHP stack, it is not the only part of it. You should also ensure that you are actively using supported versions of your framework and the libraries and tools you use.

Sooner or later, new versions of frameworks, libraries and tools will no longer support PHP 7. Here is a list of popular projects for which I could find information on PHP 7 support:

  • Symfony 6 was released in November 2021 and no longer supports PHP 7
  • Laravel 9 was released in February 2022 and no longer supports PHP 7
  • Magento 2.4.4 was released in April 2022 and no longer supports PHP 7
  • Drupal 10 is scheduled for release in December 2022 and will no longer support PHP 7
  • Xdebug 3.2 is scheduled for release in December 2022 and will no longer support PHP 7
  • PHPUnit 10 is scheduled for release in February 2023 and will no longer support PHP 7
  • TYPO3 12 is scheduled for release in April 2023 and will no longer support PHP 7
  • NEOS 9 is scheduled for release in the autumn of 2023 and will no longer support PHP 7

Of course, the release of a new version such as PHPUnit 10 does not mean that PHPUnit 9.5 will no longer work. Old versions like PHPUnit 9.5 may even still get bug fixes, but new versions with new features require a new version of PHP.

We can help you

Existing systems age primarily because technology evolves. In the long term, the secure and smooth operation of software is only possible on up-to-date systems. We can support you in planning and implementing the migration of your software to PHP 8.

For more information on how we can help you handle your legacy software, see as well as operating your PHP applications on our website.

logo.svg

The PHP Consulting Company (thePHP.cc) are leading experts on software development, especially with PHP and related technologies. We speak at conferences, conduct trainings, write widely read articles and are consultants.

You can find us on Twitter, LinkedIn, and XING.

We speak at conferences, conduct trainings, write widely read articles and are consultants.

Sebastian Bergmann is the author of PHPUnit and sets the industry standard of quality assurance.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK