Make WordPress Core

Opened 18 months ago

Closed 18 months ago

Last modified 17 months ago

#50480 closed defect (bug) (fixed)

Bump recommended PHP version to 7.4

Reported by: Hareesh Pillai Owned by: desrosj
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch has-dev-note
Focuses: Cc:


Recommended PHP version was recently updated after discussing with the core Site Health team. This has brought the recommended version to PHP 7.4.

This ticket is to bump the same in core.

Previous: #46594

Attachments (1)

50480.diff (700 bytes) - added by Hareesh Pillai 18 months ago.
Bump recommended PHP to 7.4

Download all attachments as: .zip

Change History (7)

@Hareesh Pillai
18 months ago

Bump recommended PHP to 7.4

#1 @desrosj
18 months ago

  • Milestone changed from Awaiting Review to 5.5
  • Owner set to desrosj
  • Status changed from new to reviewing

#2 @mukesh27
18 months ago

As per changeset [44982].

Do we need to change $required_php_version = '7.4'; on this file trunk/src/wp-includes/version.php

Last edited 18 months ago by SergeyBiryukov (previous) (diff)

#3 @desrosj
18 months ago

@mukesh27 Changing the version there would prevent anyone from running WordPress on PHP 5.6.20-7.3, which we don't want to do just yet. That variable is an enforced requirement. The intent here is to update the recommended PHP version.

#4 @mukesh27
18 months ago

@desrosj thanks!

#5 @desrosj
18 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 48178:

PHP: Bump the recommended version of PHP to 7.4.

This brings the recommendations in readme.html inline with those on https://wordpress.org/about/requirements/.

Props hareesh-pillai.
Fixes #50480.

Note: See TracTickets for help on using tickets.