Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7211

Prepare PHP upgrade to 8.1

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • None
    • None
    • 3
    • Maintenance
    • Sprint #216, Sprint #217, Sprint #218, Sprint #219, Sprint #220, Sprint #221, Sprint #222, Sprint #223, Sprint #224
    • jupiter

      Summary

      We currently use PHP 7.4 in production, that is no longer officially supported. Although Wordpress support for PHP 8.x is still considered beta, it seems that everything is in place for Wordpress itself. It's mostly about making sure the plugins we use are also compatible.

      Steps

      1. Build 8.1 version of our docker images. There is already a branch that can be used as a starting point. But tests are failing.
      2. Set up a test instance to use the php 8.1 images.
      3. Test our code but also 3rd-party plugins.
      4. Track down upstream plugin projects for php 8.1 status and open follow up tickets if more work is needed for upgrading them in a compatible version.
      5. Deploy PHP 8.1 on dev/test sites.

      Resources

      • For instance, we know that wp-stateless doesn't have a version that works well with both php7.4 and php8.x.

            fhernand Florent Hernandez
            nroussos Nikos Roussos
            Nikos Roussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: