[wp-trac] [WordPress Trac] #56017: Check the required PHP extensions during WordPress installation and updates

WordPress Trac noreply at wordpress.org
Tue Feb 11 11:12:19 UTC 2025


#56017: Check the required PHP extensions during WordPress installation and updates
------------------------------------+--------------------------
 Reporter:  SergeyBiryukov          |       Owner:  johnbillion
     Type:  task (blessed)          |      Status:  closed
 Priority:  normal                  |   Milestone:  6.8
Component:  Upgrade/Install         |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+--------------------------
Changes (by johnbillion):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59803" 59803]:
 {{{
 #!CommitTicketReference repository="" revision="59803"
 Security: Explicitly require the `hash` PHP extension and add requirement
 checks during installation and upgrade.

 This extension provides the `hash()` function and support for the SHA-256
 algorithm, both of which are required for upcoming security related
 changes. This extension is almost universally enabled, however it is
 technically possible to disable it on PHP 7.2 and 7.3, hence the
 introduction of this requirement and the corresponding requirement checks
 prior to installing or upgrading WordPress.

 Props peterwilsoncc, ayeshrajans, dd32, SergeyBiryukov, johnbillion.

 Fixes #60638, #62815, #56017

 See #21022
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56017#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list