Title: Community Summit Discussion Notes: PHP version support
Author: Felix Arntz
Published: August 30, 2023

---

 [  ](https://profiles.wordpress.org/flixos90/) [Felix Arntz](https://profiles.wordpress.org/flixos90/)
12:13 am _on_ August 30, 2023     
Tags: [summit ( 24 )](https://make.wordpress.org/summit/tag/summit/),
[summit-2023 ( 25 )](https://make.wordpress.org/summit/tag/summit-2023/)   

# Community Summit Discussion Notes: PHP version support

**Title of Session**: PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor)
is a widely-used open source general-purpose scripting language that is especially
suited for web development and can be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
version support

**Facilitator**: [@mikeschroder](https://profiles.wordpress.org/mikeschroder/)

**Notetaker 1**: [@flixos90](https://profiles.wordpress.org/flixos90/)

**Notetaker 2: **[@courane01](https://profiles.wordpress.org/courane01/)

From the [session schedule](https://communitysummit.wordcamp.org/2023/session/php-version-support/):

> Currently, WordPress does not officially _fully_ support PHP 8.0+. This discussion
> will focus on how WordPress can support and align with modern PHP versions, and
> how to drop support for PHP versions that are end-of-life (“EoL”). There is urgency
> to this as PHP 8.0 will be EoL in November, and PHP 7.4 reached EoL last November.

**Raw Notes**

 * Several hosting providers expressing support for running automated tests for 
   PHP version support across hosting providers
 * Is WordPress 6.3 fully supporting PHP 8? – Basically yes (PHP 8.0 and 8.1 compatible
   with _known_ exceptions, TracTrac Trac is the place where contributors create
   issues for bugs or feature requests much like GitHub.[https://core.trac.wordpress.org/](https://core.trac.wordpress.org/).
   tickets available for all exceptions) [https://make.wordpress.org/core/2023/06/20/proposal-criteria-for-removing-beta-support-from-each-php-8-version/](https://make.wordpress.org/core/2023/06/20/proposal-criteria-for-removing-beta-support-from-each-php-8-version/)
 * PHP 8 “betaBeta A pre-release of software that is given out to a large group 
   of users to trial under real conditions. Beta versions have gone through alpha
   testing in-house and are generally fairly close in look, feel and function to
   the final product; however, design changes often occur as part of the process.”
   tag was removed after WP 6.3 release [https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)
 * Encourage/support plugins supporting it
 * Attention was raised for Juliette’s published post asking for support on WPCSWordPress
   Community Support A public benefit corporation and a subsidiary of the WordPress
   Foundation, [established](https://wordpressfoundation.org/news/2016/introducing-wordpress-community-support-a-public-benefit-subsidiary/)
   in 2016. which is critical to facilitate PHP version support in the future [https://make.wordpress.org/core/2023/08/21/wordpresscs-3-0-0-is-now-available/](https://make.wordpress.org/core/2023/08/21/wordpresscs-3-0-0-is-now-available/)
 * Hosting team’s PHP test runner project (running coreCore Core is the set of software
   required to run WordPress. The Core Development Team builds WordPress. unit tests
   on several hosts) has issues with PHP 8 – who can help fix/maintain this project?
   [https://make.wordpress.org/hosting/test-results/](https://make.wordpress.org/hosting/test-results/)
 * PHP 5.6 support being dropped in WP 6.3 hopefully encourages hosting providers
   to jump up to supporting more recent PHP versions including 8+
 * [PHP version usage of WP sites](https://wordpress.org/about/stats/#php_versions)
 * Big push on GoDaddy to get sites on PHP 8+, vast majority of migrations (>70%)
   has gone smoothly (~18% marked as “high risk” updates)
 * Bluehost checking factors like closing body tags, document size changing etc.
 * Is there room to open-source tooling for checking that PHP update was successful
   or is causing errors on the site?
 * While there’s a desire in collaborating on tools across hosting providers, historically
   differences between platforms has hindered that → knowledge sharing rather than
   actual tooling
 * Users don’t care what version of PHP they are on, managed hosts manage that for
   them
 * Can we use WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used
   to do administrative and development tasks in a programmatic way. The project
   page is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/)
   for supporting updates? Useful by hosts
 * Min/max for PHP for the plugins/themes
    - Max version hasn’t been needed before
    - List of deprecations that would cause PHP incompatibility, run a scanner. 
    - Max version puts the work on pluginPlugin A plugin is a piece of software 
      containing a group of functions that can be added to a WordPress website. 
      They can extend functionality or add new features to your WordPress websites.
      WordPress plugins are written in the PHP programming language and integrate
      seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory
      [https://wordpress.org/plugins/](https://wordpress.org/plugins/) or can be
      cost-based plugin from a third-party./theme maintainers, and less useful. 
 * Implement automated scanner in plugin and theme directories to detect PHP version
   issues → responsibility of metaMeta Meta is a term that refers to the inside 
   workings of a group. For us, this is the team that works on internal WordPress
   sites like WordCamp Central and Make WordPress. team
 * Paid plugins have another issue: many sites no longer have active licenses and
   therefore don’t receive the updates that would add PHP 8+ support
 * WP plugin repository is not able to force-update premium plugins, particularly
   if they use the new upgrade URI headerHeader The header of your site is typically
   the first thing people will experience. The masthead or header art located across
   the top of your page is part of the look and feel of your website. It can influence
   a visitor’s opinion about your content and you/ your organization’s brand. It
   may also look different on different screen sizes. introduced a while ago (which
   bypasses wp.org completely)
 * Steps to encourage plugin support
    - email plugin authors prompting to update, but anticipate plugins to end 
    - display info on plugin page
    - integrate into Plugin APIAPI An API or Application Programming Interface is
      a software intermediary that allows programs to interact with each other and
      share data in limited, clearly defined ways., health check could warn them
 * Security plugins could tackle Tide scores and compatibility – WP Scan mentioned
   as a possible option
 * Resources:
    - [https://github.com/danielbachhuber/php-compat-cache](https://github.com/danielbachhuber/php-compat-cache)
    - [https://github.com/danielbachhuber/php-compat-command](https://github.com/danielbachhuber/php-compat-command)
    - [https://meta.trac.wordpress.org/ticket/4309](https://meta.trac.wordpress.org/ticket/4309)
 * For the bulk of sites, ensuring PHP support of ~50 most popular plugins will 
   be enough, then the long tail of 100s or 1000s of plugins only applies to a relatively
   smaller amount
 * What educational resources can LearnWP create to help educate on what/why/how
   to update? [https://github.com/WordPress/Learn/issues/new?assignees=&labels=Awaiting+Triage%2C+Needs+Subject+Matter+Expert&projects=&template=topic-idea.md&title=Topic+Idea%3A+TOPIC+TITLE](https://github.com/WordPress/Learn/issues/new?assignees=&labels=Awaiting+Triage%2C+Needs+Subject+Matter+Expert&projects=&template=topic-idea.md&title=Topic+Idea%3A+TOPIC+TITLE)
    - How to start contributing to PHP areas 
 * Speed at which we drop older versions of PHP – can we correlate versions of WP
   with PHP?
    - Who can update the PHP? Often hosts deployDeploy Launching code from a local
      development environment to the production web server, so that it's available
      to visitors. it
 * Current 5% rule is based on overall WP sites’ PHP version usage, could we make
   it based on only recent WP version sites’ PHP version usage? – That would not
   make a notable difference, there is not a real correlation between using old 
   WP versions and PHP versions, which makes sense since the hosting provider controls
   PHP support regardless of WP. wp.org internally has that data available, and 
   it’s only ~0.1% different from overall PHP version usage.
 * Extender ecosystem is waiting on Core
 * Bottleneck of keeping up 
 * How can we keep support financially or with labor long-term maintenance of the
   WPCS / PHP compatibility tooling?
    - Long-term additional contributors would be great, but short-term the barrier
      of entry to this work is so high that support of the existing contributors
      is essential
    - Generally, the WP project is focused on getting more contributors, but sometimes
      there may be more value in identifying and funding already experienced contributors,
      or attract specific contributors with specific expertise needed
    - mentorship for PHP niche areas, separated out from the rest of Core new contributor
      table 
 * Conclusion
    - Find funding for contributors and tooling, also mentoring
    - repo plugins to WP users
    - Hosting companies working together to find common versions encounter errors

[#summit](https://make.wordpress.org/summit/tag/summit/), [#summit-2023](https://make.wordpress.org/summit/tag/summit-2023/)

### Share this:

 * [  Threads ](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?share=bluesky)
 * [  Facebook ](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?share=facebook)
 * [  X ](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?share=x)
 * [  LinkedIn ](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fsummit%2F2023%2F08%2F30%2Fcommunity-summit-discussion-notes-php-version-support%2F%23respond&locale=en_US)

### Like this:

Like Loading…

 1.  ![](https://secure.gravatar.com/avatar/323cf209e19dd825678e9ccc51bc3f745f96571f1c68af26ae7955c1fa9ad1f2?
     s=32&d=mm&r=g)
 2.   [Aaron Jorbin](https://profiles.wordpress.org/jorbin/)  2:51 pm _on_ August 30,
     2023
 3.  +make.wordpress.org/core/
 4.  ![](https://secure.gravatar.com/avatar/280f43d4fb440fedb1e254d76531d4c099e3f149d7e7884a1acf0e085947ac26?
     s=32&d=mm&r=g)
 5.   [jessibelle](https://profiles.wordpress.org/jessibelle/)  9:08 pm _on_ September
     3, 2023
 6.  +make.wordpress.org/hosting/
 7.  ![](https://secure.gravatar.com/avatar/c95de1e6c222121175c2c0dddf4631d2ea45704938f53332d12710379c6153e6?
     s=32&d=mm&r=g)
 8.   [Jeffrey Paul](https://profiles.wordpress.org/jeffpaul/)  6:41 pm _on_ September
     6, 2023
 9.  Note that [WP Engine’s PHP Compatibility Checker plugin](https://wordpress.org/plugins/php-compatibility-checker/)
     now consumes and displays pluginPlugin A plugin is a piece of software containing
     a group of functions that can be added to a WordPress website. They can extend
     functionality or add new features to your WordPress websites. WordPress plugins
     are written in the PHP programming language and integrate seamlessly with WordPress.
     These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
     or can be cost-based plugin from a third-party.’s and theme’s PHPPHP PHP (recursive
     acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-
     purpose scripting language that is especially suited for web development and can
     be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
     Compatibility as reported by [Tide’s](https://wptide.org/) auditing ([see the PHPCS part of the schema](https://wptide.org/docs/specification/))
     of the [PHPCompatibilityWP](https://github.com/PHPCompatibility/PHPCompatibilityWP).
     That data could be used by hosts to help highlight to site owners whether their
     site likely is or is not compatible with a specific PHP version upgrade, though
     visual regression and acceptance testing by site owners is a best practice before
     upgrading and not strongly recommended to purely rely on the results from PHPCompatibilityWP.

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-php-version-support/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fsummit%2F2023%2F08%2F30%2Fcommunity-summit-discussion-notes-php-version-support%2F&locale=en_US)
to post a comment.

# Post navigation

[← Community Summit Discussion Notes: Can WordPress become the household name it deserves to be?](https://make.wordpress.org/summit/2023/08/28/community-summit-discussion-notes-can-wordpress-become-the-household-name-it-deserves-to-be/)

[Community summit discussion notes: Revitalizing contributor teams’ leadership pipeline →](https://make.wordpress.org/summit/2023/08/30/community-summit-discussion-notes-revitalizing-contributor-teams-leadership-pipeline/)