[wp-trac] [WordPress Trac] #56017: Check the required PHP extensions during WordPress installation and updates
WordPress Trac
noreply at wordpress.org
Mon Jun 20 15:59:16 UTC 2022
#56017: Check the required PHP extensions during WordPress installation and updates
-----------------------------+--------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: Upgrade/Install | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+--------------------
Background: #55603
Currently, marking a PHP extension as required in Site Health displays a
warning on existing sites if the extension is unavailable, but it does not
block the WP installation for new sites, nor the updates to the new
version for older sites.
To avoid fatal errors, WordPress core should check for the required PHP
extensions both during installation and updates, similar to how we check
for the required PHP and MySQL versions.
As also noted by @jrf in comment:2:ticket:55603:
> Might also be a good time to improve the code re-usability in that
regards (have one master list of requirements and recommendations, which
both the requirements checker on installation/load + the Site Health
component draw from).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56017>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list