PHP 8.2 Migration FAQ
General
What is PHP?
PHP is a programming language used for many common web applications, including Drupal, Joomla, WordPress, and Moodle.
What is PHP 8.2?
PHP 8.2 is the newest major version of PHP released by its developers. It brings many improvements but also some backward-incompatible changes. For more information, please see the PHP 8.2 release announcement.
Why should I upgrade to PHP 8.2?
PHP 8.2 is the future of PHP. The current version of PHP 8.1, will reach end-of-life and cease to be supported by November 25, 2024.
Upgrading PHP
How do I upgrade to PHP 8.2?
Clients currently using PHP 8.1 and enrolled for CentOS 7 S4 upgrades will be provided staging sites and/or POC servers by February 16, 2024. These clients may request to have staging sites and/or POC servers set up earlier by sending an email to support@smartt.com.
Clients currently using PHP 8.1 may request to have staging sites and/or POC servers set up by sending an email to support@smartt.com.
Which applications support PHP 8.2?
As of January 10, 2024, the PHP 8.2 support for common web applications is:
Application | Status |
---|---|
Drupal 7.x | Yes. |
Drupal 10.x | Yes, supports PHP 8.2 |
Joomla 4.3 | Yes |
Joomla 5.x | Yes |
Moodle 3.x | Not Supported |
Moodle 4.1 (LTS) | |
Moodle 4.2 | |
Moodle 4.3 | Yes, Supports PHP 8.2 |
WordPress 6.2 and higher | “Beta compatibility” for PHP 8.2. |
Note that while the core software may support PHP 8.2, some plugins may not. You may need to replace plugins or wait on the plugins to be updated.
How can I prepare for upgrading to PHP 8.2?
Keep your applications up-to-date. New versions of the software will include PHP 8.2 support and address any known bugs with PHP 8.2.
If you use custom plugins or a custom application, we recommend you request a staging environment as soon as possible so you have the opportunity to test your site on PHP 8.2 and make any needed changes.
What if my application will not work on PHP 8.2?
Smartt will support PHP 8.1 until it reaches end-of-life in November 2024. You may choose to use PHP 8.1 until then so you have the opportunity to either upgrade your software to support PHP 8.2 or to migrate to new software that supports PHP 8.2.