WordCamp Europe 2024 Contributor Day

Still don’t know which table to join at the WordCamp Europe 2024 Contributor Day? Well, if you like hostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web., know a bit about technology, and would like to improve your WordPress documentation, develop some tools or work with some ideas for a Hosting Directory, this is the team for you!

The projects

We have several options of projects to do during the Contributor Day.

If you want to lead any of these working groups, or the Hosting Table, please leave a comment or ask @crixu or @javiercasares about it.

What do you need to know?

The Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/. is an event, usually parallel to a WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more., focused on contributing to the WordPress Community in any of its teams.

To participate in a Contributor Day it is only necessary to have a WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ account, and, if possible, access to a SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. team channel.

Schedule

Moreover, if you want to Contribute Online, please, you are welcome! We will be in our Slack #hosting channel.

Contributor Day Schedule (Thursday 2024-06-13)

Contributing in person 

  • 08:30 Registration
  • 09:15 Opening and welcome
  • 10:00 Contributing to WordPress
  • 12:15 Group photo
  • 12:30 Lunch
  • 14:00 Contributing to WordPress
  • 16:30 Teams summaries and wrap-up

Please plan to arrive an hour before the event so you can register and mingle.

Contributing remotely

To know that you’re willing to join us even though you cannot make it to WordCamp is precious to us, thank you! 

  • Location: See you in Slack, in the #hosting channel. 
  • Date: 2024-06-13 (0630 UTC — 1430 UTC)

See you in Torino!

#contributor-day

Hosting Team meeting agenda 2024-05-15

Are you going to the WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Europe 2024 Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/.?

This Meeting

The next meeting is scheduled with the following details:

Agenda

WordPress Community

  • WordPress CoreCore Core is the set of software required to run WordPress. The Core Team builds WordPress. news
  • WordPress Community news

HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team Time

  • WordPress Hosting Directory
  • WordCamp Europe Contributor Day

Open Floor

  • Anything not in the agenda

Closing

  • Next Meeting Times

Next Meetings

  • 2024-05-22 1800 UTC
  • 2024-05-29 0900 UTC
  • 2024-06-05 1800 UTC
  • 2024-06-12 – no meeting (WordCamp Europe)
  • 2024-06-19 1800 UTC
  • 2024-06-26 0900 UTC
  • 2024-07-03 1800 UTC
  • 2024-07-10 0900 UTC
  • 2024-07-17 1800 UTC
  • 2024-07-24 0900 UTC

Ideas or suggestions

Anything else? Please leave a comment to add to the meeting.

#agenda, #meetings, #weekly-hosting-chat

Proposal: WordPress Hosting Directory

For some time now, different proposals have been developed suggesting that the HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team offer a directory of hosting companies. This directory would be primarily based on objective criteria such as technical features or contributions, enabling WordPress users to make informed decisions suited to their hosting needs, a fundamental aspect of CMS functionality.

This initiative began a few years ago with the WordPress.org Recommended Hosts Page Requirement Matrix Criteria, an initial approach to consider all potential elements that hosting companies must meet as requirements.

Following this, a formal proposal known as Project Bedrock was developed. It aimed to create a directory of hosting companies that promote WordPress from a purely objective standpoint, where users can search, filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output., and browse through multiple combinations.

This effort initially did not include formal participation of hosting companies in the community, which led to an additional proposal, the Hosting Application Rubric focused exclusively on this aspect.

From these three projects, a roadmap is now proposed for what the project should be and how to approach it, from a slightly different perspective than the current one, with certain unresolved issues that will need to be discussed in the team’s weekly meetings and the Contributor Days in the coming months.

The Directory

The project’s goal is to create //make.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org//hosting/directory/ where filtering can be done based on various needs, displaying a list of companies and products. Filters might include the type of hosting (shared, VPSVPS A virtual private server (VPS) is a virtual machine sold as a service by an Internet hosting service. A VPS runs its own copy of an operating system (OS), and customers may have superuser-level access to that operating system instance, so they can install almost any software that runs on that OS., cloud, etc.), whether WP-CLIWP-CLI WP CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. access is available, or the type of energy the servers use. The list is quite extensive and may include over 50 variables.

The listings will feature an algorithm based on objective elements, providing a clear and common scoring of what ranks higher and lower. Factors in scoring will include ease of access to tools offered by the community (like WP-CLI), participation in the Hosting Team’s Testing Project, and the company’s involvement in the Five for the Future project.

There will be two types of data: company profiles with general information, and the products offered by each company.

Data Retrieval

To keep the directory agile, creating a 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 or can be cost-based plugin from a third-party. that includes all the options might be very complex. Storing the information, however, is not. Therefore, the use of a JSON Schema is being considered, which could also allow the project to evolve in the future with backward compatibility. There is also an example of what such a file would look like that a provider would need to create.

The files would be hosted at a path such as:

/.well-known/wordpress-hosting/wordpress-hosting.json

First Data Review

Considering that these paths do not contain any personal information that could breach privacy legislation, the initial management would be through a GitHubGitHub GitHub is a website that offers online implementation of git repositories that can can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. Issue, indicating the provider’s path (or the main URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org) and the main user within WordPress.org.

A first review of the data would be conducted, and the same Issue would report potential errors or unverifiable elements. Once the first approval is done, this user would be assigned a role that would allow indicating their participation in the directory, and the URL of the JSONJSON JavaScript Object Notation (JSON) is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types. It is a very common data format, with a diverse range of applications, such as serving as a replacement for XML in AJAX systems. to be processed would be assigned.

An alternative is sending a message to hosting (a) wordpres.org and following up through the ticket support platform. In any case, both approaches would be complementary.

The Plugin

The creation of a plugin that allows three main tasks is necessary.

The first is the reading of the JSON data and its storage. Once the first reading (previously reviewed) is approved, it will be published as the current content.

The second task is the review of changes. Any changes in the JSON data would be stored in a future/draft entry, pending review by the team in charge. This way, we will have several contents for the same user: past entries, the current public entry, and a future entry pending review with different data from the current one.

The third is basically the directory itself, which will display data on the frontend, both from companies and products, in addition to listings with filters, the result sorting algorithm, and a system for users (who should be logged in) to report incorrect data, thus generating an internal ticket for the review team.

Data Review Team

One of the most important aspects of this project is the review of changes and proposals from hosting providers, which community members will need to examine. Initially, a period of review and learning work will be planned, along with the creation of documentation, which will later open to more contributors. There is no rush, so the emphasis will be on taking things slow and steady rather than trying to set up the directory in a week.

Initially, four tasks are proposed:

  • The main task will be to review new hosting providers, their services, and ensure the initial information is correct.
  • The second task will continue the first, reviewing any changes that occur.
  • The third task is to review complaints that may come from the website, indicating erroneous data.
  • Finally, as a fourth point, we have the resolution of general issues, which would be managed by email, involving communication between the parties.

This does not mean that there will not be additional tasks sporadically, such as maintaining the JSON Schema with new product versions, informing providers of the JSON update, etc.

Next Steps / Roadmap

The first major milestone will be WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Europe 2024, where on Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/., feedback on the project can be discussed and received from hosting providers, both in terms of adding and removing elements from the JSON Schema. Meanwhile, Issues and comments can be left on the enabled GitHub.

A second step will be the construction of the plugin and the entire review system. If anyone is interested in creating this project, please comment (you can write to @javiercasares on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. or leave comments on the post). In any case, ideas about this potential plugin are welcome.

A subsequent milestone will be at WordCamp US 2024, also on Contributor Day, where emphasis will be placed on this project, receiving inputs from those U.S. companies not present at WordCamp Europe.

Conclusion and Call to Action

As we move forward with the WordPress Hosting Directory, we are embarking on a journey that not only enhances the WordPress community’s access to reliable and transparent hosting information but also strengthens the bond between WordPress and hosting providers. This directory aims to serve as a robust resource, equipping users with the necessary tools to make informed decisions that align with their specific hosting needs.

Your involvement is crucial to the success of this project. Whether you are a hosting provider, a developer, or a community member, your feedback, ideas, and contributions are invaluable. We encourage everyone to engage with the project through the following channels:

  • Feedback Submission: Provide your insights and suggestions via the GitHub repository or direct communications to the Hosting Team.
  • Participation in Upcoming Events: Join us at WordCamp Europe and WordCamp US in 2024. These events will be pivotal for discussing further developments and refining our approach based on your input.
  • Volunteering: We will be searching for volunteers to join the Hosting Review Team. This team will play a critical role in ensuring the accuracy and integrity of the data within the directory.

Together, we can create a directory that not only reflects the diversity and capability of the WordPress Hosting Community but also sets new standards for transparency and user-centric information in the industry. Let’s work together to build a tool that will be indispensable for every WordPress user navigating the complexities of web hostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web..

Thank you for considering this proposal. We look forward to your active participation and support in shaping the future of WordPress hosting.

Props: @crixu

#hosting-directory

WordPress 6.4 PHP Compatibility

Looking for updated information?
Visit the Hosting Handbook Server Environment page.

As we explained in the previous post, for each new version of WordPress, we aim to release an article explaining the compatibility of PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response. with the WordPress versions and our team’s recommendation for that specific version.

On this occasion, once again, we will explain the details of compatibility, including “betaBeta Beta is the software development phase following alpha. A Beta phase generally begins when the software is feature complete but likely to contain a number of known or unknown bugs. Software in the beta phase will generally have many more bugs in it than completed software, speed or performance issues, and may still cause crashes or data loss. The focus of beta testing is reducing impacts to users, often incorporating usability testing. compatible” or “compatible with exceptions”.

So, here you have the compatibility information, this time, for WordPress 6.4.

WordPress’ serverServer A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers. requirements

Even if there are more stable software versions, that doesn’t mean they are the ones WordPress recommends.

This makes WordPress 6.4 requirements:

  • PHP: 7.0+
  • MySQLMySQL MySQL is an open-source relational database management system (RDBMS). MySQL is free and open-source software under the terms of the GNU General Public License.: 5.0.15+
  • MariaDBMariaDB MariaDB is a fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. MariaDB intended to maintain high compatibility with MySQL, ensuring a drop-in replacement capability with library binary parity and exact matching with MySQL APIs and commands.: 5.5+

You can read more at Server requirements.

WordPress’ compatibility “at the time”

WordPress 6.4 was released on November 7, 2023, and at that time we had the following components available (stable or security-maintained versions only, and RCRelease Candidate A beta version of software with the potential to be a final product, which is ready to release unless significant bugs emerge. only for informational purposes).

  • PHP: 8.0–8.2, and 8.3-RC
  • MySQL: 5.0–8.1 (LTS versions: 8.0)
  • MariaDB: 10.4–10.6, and 10.10–11.0 (LTS versions: 10.6, and 10.11)

You can read more at WordPress Compatibility.

WordPress and PHP

PHP is a programming language on which WordPress code is based. This language runs on the server, and it is critical to keep it up to date, both for security and functionality.

WordPress supports many versions of PHP, some even obsolete (PHP Compatibility and WordPress Versions).

WordPress 6.4 (coreCore Core is the set of software required to run WordPress. The Core Team builds WordPress.) is:

  • fully compatible with PHP 7.01, 7.11, 7.21, 7.31, and 7.41.
  • compatible with exceptions with PHP 8.0, 8.1, and 8.2.
  • beta compatible with 8.32.

1 SECURITY ALERT: These versions are not officially maintained by PHP, so they are considered insecure and obsolete versions and should not be used in production. Check with your hostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. provider about the security maintenance they can do.

2 DEVELOPMENT ALERT: These versions are in development, so it’s not recommended to use them in a production environment. PHP 8.3 release date: November 23, 2023.

What “compatible with exceptions” mean?

PHP 8.0

  • Named parameters. WordPress does not support named parameters.
    PHP 8.0 supports optionally calling functions and class methods by specifying the parameter name, instead of calling them on the order of parameters that they are declared.
    PHP, and many other programming languages, support positional parameters: The caller passes the parameters in the same order the function/method declares its parameters.
  • Filesystem WP_Filesystem_FTPext and WP_Filesystem_SSH2 when connect fails.
    An investigation is underway as to why on some occasions the access to the files returns some type of error.

PHP 8.1

  • Not all “passing null to non-nullable” issues have been found.
    In PHP, you can tell a function exactly what type of information it should accept. If you tell a function to expect a certain type of information, and you give it nothing at all (null is like saying “nothing”), then PHP gets confused and gives an error. This problem happens when someone accidentally gives a function “nothing” when the function wasn’t designed to handle “nothing”.
  • htmlentities() et al needs the default value of the flags parameter explicitly set.
    According to htmlentities(), the default for flags for PHP 8.1 was “changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401”. All use cases for this functionality in WordPress Core are being investigated.
  • Replace most strip_tags() with wp_strip_tags().
    There are rare occasions when the strip_tags() function is passed a null value, which generates a warning that the string is deprecated.

PHP 8.2

What “beta” mean?

PHP 8.3

  • Deprecation notices
    A deprecation notice is not an error, but rather an indicator of where additional work is needed for compatibility before PHP 9.0. With a deprecation notice, the PHP code will continue to work and nothing is broken.

Hosting Team Recommendation

Taking all this into account, the Hosting Team’s recommendations for WordPress 6.4 are as follows (which may differ from the global ones).

  • PHP: 8.1.x or 8.2.x
  • MySQL: 8.0.x
  • MariaDB: 10.11.x

IMPORTANT: These recommendations are intended, primarily, for new installations by hosting providers.

#core, #php

Proposal: PHPUnit Test Runner with Multi-PHP and Multi-Environment

This past weekend, the Clodfest Hackathon took place and the HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. team proposed a project to improve the tools.

Thanks to Pascal (@swissspidy), Cesar, and myself (@javiercasares), we have been able to make progress on some elements that had been in the backlog for over 4 years.

An important detail is that all the changes made are backward compatible so that the default configuration should not affect any of the new features, especially considering GitHubGitHub GitHub is a website that offers online implementation of git repositories that can can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. Actions.

What has been achieved?

The first step was to include support for Multi-PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response.. This way, a user could submit different reports of the same commit but with different versions of PHP installed.

The second step was to create Multi-Environment. This allows a user to establish different servers with their respective configurations and PHP versions. This allows, for example, having an environment for “shared hosting”, another for “vps”, and another for “cloud”. This is in addition to the Multi-PHP from before.

The third step was to support All-Commits. The tool previously only executed the latest available commit. With this new change, a list of the 10 latest commits will be made, and all of them will be processed in case many commits are sent in a short time. Usually, the tool can take between 5 and 30 minutes per process, and sometimes commits that were never tested in all environments could be lost.

All these changes are accompanied by their respective improvements in the PHPUnit Test Reporter, the 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 or can be cost-based plugin from a third-party. that collects and displays the information.

From now on, the initial list will be a summary of the different environments and how many are working and failing. Once inside, we can see the list of all environments and PHP combinations. This is the visualization for developers: one commit, many results.

Furthermore, there is the option for different bots (i.e., different providers) to have their list and on the same screen, they can see the list of the latest tests and thus easily detect when or in what change an error occurred. This is the visualization for providers: one provider, many results.

Where can the changes be seen?

They are not yet approved because they need code review, documentation, and validation by more people. The focus of the Hackathon was to include the functionality, and it was done “too quickly,” so there is duplicated code and improvements can be made. It works, yes, but it’s not pretty.

The PRs with the changes are at:

If you want to contribute, please review and test the code to validate that everything works correctly.

Next steps

In addition to giving a code review, looking for possible errors, and proposing some improvements, we also intend to review the documentation on how to install and maintain the system automatically.

In parallel, we will review with the #core team that everything is working fine and that the GitHub Actions do not give errors, even with the possibility of running different tests depending on the PHP version.

#php, #testing, #tools

Hosting Meeting Agenda – 2024-02-21

The next meeting is scheduled with the following details:

When

Next meetings

Where

At #hosting channel on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/..

Agenda

WordPress Community

  • WordPress CoreCore Core is the set of software required to run WordPress. The Core Team builds WordPress. news
  • WordPress Community news

HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team Time

  • WordPress Hosting Compatibility
  • Call for Meeting Hosts
  • More Hosting Team topics

Open Floor

  • Anything not in the agenda

Ideas or suggestions

Anything else? Please leave a comment to add to the meeting.

#agenda, #meetings, #weekly-hosting-chat

Host Feedback Requested Regarding SimpleXML

Hello WordPress Hosts!

WordPress CoreCore Core is the set of software required to run WordPress. The Core Team builds WordPress. and the Core SiteMaps Feature Plugin Team are looking for statistics about the availability of the SimpleXML PHP Extension on systems that provide WordPress hostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web..

Any non-sensitive data that can be shared regarding the following will help facilitate the growth and success of the WordPress software:

  • Do hosting platforms support and enable the SimpleXML extension as a standard?
  • How common is it for hosting platforms to not support the extension?
  • Will customers be disadvantaged if the core sitemaps feature “failed gracefully” (with an alert) if the extension is not supported on the hosting system?

The extension is required for the feature plugin as of version 0.2.0. Unless a large percentage of WordPress sites don’t support SimpleXML, when the feature is merged into core the extension will also be required for it to work; however, it will not be required for core itself.

Have any thoughts, questions or concerns? Want to provide data to help support WordPress? Drop a comment below or message the whole team in #hosting-community on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/.!

Thank you to hosting contributors who provide info on SimpleXML! Your feedback is valuable!

#core

WordPress Hosting Survey

Last week in the Make WordPress #hosting SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. channel (direct link to post here), Matt shared that he would “like to have recommended hosts on the main .org page and all the language subdomains that most align with our values and contribute the most back.” 

As a first step, he requested feedback on a WordPress hosting survey he shared here

Some years ago, the HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. team was involved in a similar effort and prepared a report at that time, which can be found here.

Those who regularly attend the weekly Hosting team meetings are already familiar with the Hosting team’s recent “Project Bedrock,” which was an updated version of the original report and proposed to create a democratized directory of all hosts that meet a series of predefined requirements.

After reviewing the newer document, Matt challenged us to distill the most salient questions given how many differences there are between the survey he shared and the questions in Bedrock.

Courtney Robertson from the Training team, building off the application, drafted a rubric for scoring potential hosts for inclusion. 

A number of other ideas and notes have been posted by individuals as well, and those of us on the team are thrilled to see a renewed interest in the project and page as a whole. 

It has been proposed that this be a topic for discussion at the Community Summit next month, as well as at the Hosting table during Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/..

However, we encourage anyone interested in offering feedback or desiring to participate in the discussion to please do so by leaving a comment on this post.

Whether you’re able to attend in person or not, we want to make sure your thoughts and positions are represented as this discussion continues. 

Hosting Team meeting agenda 2024-01-10

The next meeting is scheduled with the following details:

When

Next meetings

Where

At #hosting channel on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/..

Agenda

WordPress Community

  • WordPress CoreCore Core is the set of software required to run WordPress. The Core Team builds WordPress. news
  • WordPress Community news

HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team Time

  • WordPress Hosting Compatibility
  • Team Goals for 2024
  • WordPress Hosting Team event
  • More Hosting Team topics
    • WP 6.5 and PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response. compatibility
    • Team meetings
    • Office hours
    • Tickets

Open Floor

  • Anything not in the agenda

Ideas or suggestions

Anything else? Please leave a comment to add to the meeting.

#agenda, #meetings, #weekly-hosting-chat

Is WordPress compatible with PHP 8?

Looking for updated information?
Visit the Hosting Handbook Server Environment page.

TL;DR. If you are using WordPress 6.2, you should at least use PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response.PHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web serverServer A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers. by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTPHTTP The Hypertext Transfer Protocol (HTTP) is protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resources that the user can easily access, for example by a mouse click or by tapping the screen in a web browser. response. 8.1. If you keep your WordPress, plugins and themes up to date, everything should work fine.
If you are not yet using WordPress 6.2, we strongly recommend that you use this version of WordPress for maximum PHP compatibility.

PHP 8.x has been with us for a while now, so much so that even PHP 8.0 has only security support, and we should mainly use PHP 8.1 and PHP 8.2.

It mainly depends on which versions of WordPress and PHP we are talking about. There are many places to get information about WordPress and PHP compatibility:

A lot of information, plenty of versions.

The official version

WordPressPHP compatiblePHP beta compatible
WordPress 6.25.6 – 7.48.0* / 8.1* / 8.2*
WordPress 6.15.6 – 7.48.0* / 8.1* / 8.2*
WordPress 6.05.6 – 7.48.0* / 8.1*
WordPress 5.95.6 – 7.48.0* / 8.1*
WordPress 5.85.6 – 7.48.0*
WordPress 5.75.6 – 7.48.0*
WordPress 5.65.6 – 7.48.0*

What does beta mean?

Nothing. Yes, really, nothing. Forget about that!

When PHP 8.0 was released, WordPress gave some warning messages (not error messages). Most of those messages are fixed in all versions of WordPress and for all versions of PHP. Yes, there are outstanding tickets and messages, but they are few and should not affect WordPress performance.

Why put the beta label, then?

Not because of WordPress, but because of the ecosystem, i.e., plugins and themes. When PHP 8.0 appeared, block themes were not yet widespread and the Site Editor was not yet finished, which it is now. And since WordPress did not make its compatibility clear, many plugins were not adapted to PHP 8.x… because what’s the point if WordPress is non-compatible? (yes, this last question is pure sarcasm).

And, the fish that bites its tail: WordPress says it’s beta-compatible, and plugins and themes don’t adapt because WordPress isn’t… but, it’s not true. You have to read the fine print.

It’s all a matter of timing

In some cases, the release of WordPress coincides with a new major version of PHP, and that complicates everything. On the one hand, there is no time to adapt, on the other hand, everything works. And between one and the other, things are left the same.

The fact of marking WordPress as beta-compatible had a reason to be: WordPress works, but in general nobody uses WordPress without plugins. And the plugins, most of them, were not adapted to PHP 8.x.

It has been 6 months since the release of PHP 8.2 and many plugins are still not supported… although there has been time for PHP 8.0 and 8.1 to be supported.

Again, it’s a timing issue. PHP started a few years ago a cycle of annual releases of major versions that are not fully compatible with each other or generate many warnings, and reviewing all the WordPress code is complex, let alone the more than 60,000 plugins and 10,000 themes.

The Hosting vision

Security is a critical factor for hosting companies, and keeping PHP versions up to date is part of that.

That is why, every year, as the old PHP versions are no longer officially supported, the providers are activating the new ones and deactivating the old ones.

While it’s true that there are no PHP 7.4.1+ vulnerabilities reported yet (it’s a matter of time), it’s about time to use at least PHP 8.0. And, almost already, for the remaining half year of support, you should consider using at least PHP 8.1.

WordPress vs. PHP vs. Hosting companies

Undoubtedly, the decision to use one or another version of PHP for each project should be up to the users, although the hosting companies should clearly inform about the risks or not of using one or another version.

For example, someone with WordPress 5.8 cannot be recommended to activate PHP 8.1 because it probably won’t work. Nor can you push to make the change as soon as a new version of PHP is released.

What should I do?

First: the decision must always be yours. It is your project, and you have to decide what is best for it with all the information.

Second: have all the information. And this is where we can help you, a little.

Third: everything has to work. The goal is to make your site work, so you have to check, with a staging version, that everything is working properly. Ask your hosting provider for help with this.

I have WordPress 6.2

Presently, in May 2023, our recommendation is that you have at least PHP 8.1. It is a stable version, it is a secure version, and most themes and plugins work with this version.

WordPress 6.2 is compatible with 5.6.20+, PHP 7.0.x, PHP 7.1.x, PHP 7.2.x, PHP 7.3.x, PHP 7.4.x, PHP 8.0.x, PHP 8.1.x and PHP 8.2.x. BUT, older than PHP 8.0 are nor maintained, PHP 8.0 has only security maintenance and PHP 8.1 and PHP 8.2 are maintained versions. This is why PHP 8.1 is a good choice because, in general, everything should work.

What do I do if something doesn’t work? Upgrade everything to the latest versions. The latest version of WordPress 6.2 (right now WordPress 6.2.0), the latest versions of all your plugins and all your themes. If you have premium plugins, make sure you have the latest versions. Ask your hosting to help you figure out what’s wrong.

I have WordPress 6.1

When we published Server Environment for WordPress 6.1, we knew that WordPress 6.1 worked correctly with PHP 8.0 and PHP 8.1. PHP 8.2 did not, for one simple reason: it had not yet been released.

We also knew one thing: most plugins, even though PHP 8.1 had been on the market for a year, were not fully compatible. It was after PHP 7.4 stopped receiving updates that many developers started to support all available PHP 8.x versions, which are PHP 8.0, PHP 8.1 and PHP 8.2.

It has been long enough for WordPress 6.1, its plugins and themes to work properly with PHP 8.0 and PHP 8.1.

And, just as with WordPress 6.2, if you still have WordPress 6.1 everything should work correctly with PHP 8.1.

I have WordPress 5.9–6.0

You can read the same as in the two previous cases. In short, you should now be able to upgrade everything to PHP 8.1.

I have WordPress 5.6–5.9

You can read the same as in the two previous cases. In short, you should now be able to upgrade everything to PHP 8.0.

I have a version before WordPress 5.6

Surely, the best thing to do is to check out our article Upgrading (very old) WordPress.

Summary

The Core, Test, and Hosting teams actively care about the full compatibility of WordPress with all its technologies. This includes Apache HTTPD, nginx, PHP, MySQL, MariaDB, memcached or Redis.

While it is true that PHP is a critical technology, we have a project in which many hosting companies test their systems with future versions of WordPress so that, once released, its compatibility is as high as possible.

You can see the results of Host Test Results and learn how well it works and what the bugs are. Errors are good because it means that a possible incompatibility has been detected and will be corrected in the future so that WordPress remains compatible with the widest number of systems.

And if you are a hosting company, you can help WordPress stay up-to-date by testing alpha versions on your systems.

#core, #php