#41490 closed task (blessed) (fixed)
Readme: Update recommendations (include MariaDB) to reflect https://wordpress.org/about/requirements/
Reported by: | Presskopp | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
The readme.html misses MariaDB:
https://wordpress.org/about/requirements/ recommends:
PHP version 7 or greater
MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
readme:
MySQL version 5.6 or higher.
Change History (23)
This ticket was mentioned in PR #1913 on WordPress/wordpress-develop by audrasjb.
3 years ago
#3
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/41490
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
3 years ago
#7
@
3 years ago
- Owner set to audrasjb
- Status changed from new to assigned
The PR above is almost ready. Self-assigning the ticket.
#8
@
3 years ago
As per yesterday's bug scrub, I'm committing the first part (add MariaDB recommendation), then I'll reopen the ticket to see if the Unit Test part can land in 5.9 or not.
#10
@
3 years ago
- Keywords has-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening to see if we can add some unit tests for this.
Worth noting that we recently deactivated the test for the PHP version. Also, the same goes for MariaDB: we recommend to use 10.1 and greater on w.org but the last supported version on MariaDB’s side is 10.2.
#11
follow-up:
↓ 12
@
3 years ago
Only FYI… Now, we are recommending:
— PHP version 7.4 or greater.
— MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
— HTTPS support
OK to PHP 7.4+
MySQL, the latest GA available version is MySQL 5.7 / 8.0 (5.6 is not supported anymore)
Same with MariaDB. Now, the latest GA version supported is MariaDB 10.2…
Should we recommend unsupported / insecure versions?
We should clarify if this page is for "requirements" or "recommendations" because, as requirements, WordPress may work with many older versions, but as recommended we should not propose unsupported versions.
#12
in reply to:
↑ 11
;
follow-up:
↓ 15
@
3 years ago
Replying to JavierCasares:
We should clarify if this page is for "requirements" or "recommendations" because, as requirements, WordPress may work with many older versions, but as recommended we should not propose unsupported versions.
I agree we should not recommend unsupported or insecure versions.
The Requirements page looks like a mix of both recommendations and requirements, with the recommendations at the top and the actual requirements a bit further down:
Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP 5.6.20+ and MySQL 5.0+, but these versions have reached official End Of Life and as such may expose your site to security vulnerabilities.
#15
in reply to:
↑ 12
@
3 years ago
Replying to SergeyBiryukov:
Replying to JavierCasares:
We should clarify if this page is for "requirements" or "recommendations" because, as requirements, WordPress may work with many older versions, but as recommended we should not propose unsupported versions.
I agree we should not recommend unsupported or insecure versions.
Created #meta5999 to update these recommendations on WordPress.org.
#16
follow-up:
↓ 18
@
3 years ago
It looks like the unit test for MySQL version may need some adjustment, as it did not pick up the EOL for MySQL 5.6.
Per MySQL Technical Support page, Oracle actively supports MySQL releases for 5 years from GA release. At a glance, the test aims to make sure that the recommended MySQL version in readme.html
is not older than 5 years, but in that case, it should retrieve the date of the first GA release to compare, not the latest one.
#18
in reply to:
↑ 16
@
3 years ago
Replying to SergeyBiryukov:
It looks like the unit test for MySQL version may need some adjustment, as it did not pick up the EOL for MySQL 5.6.
Per MySQL Technical Support page, Oracle actively supports MySQL releases for 5 years from GA release. At a glance, the test aims to make sure that the recommended MySQL version in
readme.html
is not older than 5 years, but in that case, it should retrieve the date of the first GA release to compare, not the latest one.
Fixing the test has an interesting effect: it flags MySQL 5.7 as outdated too.
This appears to be correct: per the MySQL 5.7 release notes, the first GA release of 5.7 was on 2015-10-21, more than 5 years ago. Per the Technical Support page linked above, this means that 5.7 moved from active support to extended support on 2020-10-21.
To prevent the test from failing, we have three options:
- Update the recommended version to MySQL 8.0.
- Extend the "supported" period from 5 to 8 years, which includes extended support.
- Disable the test for now, like we did for PHP in [52260] / #54528.
As WordPress core is not fully compatible with MySQL 8.0 yet (see #49364, #51740, #52496), I think we can go with option 2 for now, but I'm open to other suggestions.
This ticket was mentioned in Slack in #hosting-community by javier. View the logs.
3 years ago
hellofromtonya commented on PR #1913:
3 years ago
#22
Different patches were committed. Closing as the ticket is closed.
I'm cool with making this change, but let's wait until after #30462 - running the test suite against MariaDB is helpful in declaring it properly supported.
As with MySQL and PHP, the recommended version should be dependent the dates declared in the MariaDB Maintenance Policy.