Make WordPress Core


Ignore:
Timestamp:
01/09/2026 11:45:46 AM (9 months ago)
Author:
johnbillion
Message:

General: Increase the minimum supported version of PHP to 7.4.

Props justlevine, masteradhoc, samiamnot, matt, bradshawtm, 4thhubbard, desrosj, jorbin, westonruter, peterwilsoncc, johnbillion

Fixes #62622

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/upgrade-testing.yml

    r61245 r61459  
    6969      matrix:
    7070        os: [ 'ubuntu-24.04' ]
    71         php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
     71        php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
    7272        db-type: [ 'mysql' ]
    7373        db-version: [ '5.7', '8.0', '8.4', '9.5' ]
    7474        wp: [ '6.7', '6.8' ]
    7575        multisite: [ false, true ]
    76 
    77         exclude:
    78           # The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
    79           - php: '7.2'
    80             db-version: '8.4'
    81           - php: '7.3'
    82             db-version: '8.4'
    83           # MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
    84           - php: '7.2'
    85             db-version: '9.5'
    86           - php: '7.3'
    87             db-version: '9.5'
    8876    with:
    8977      os: ${{ matrix.os }}
    … …  
    10694      matrix:
    10795        os: [ 'ubuntu-24.04' ]
    108         php: [ '7.2', '7.4', '8.0', '8.4' ]
     96        php: [ '7.4', '8.0', '8.4' ]
    10997        db-type: [ 'mysql' ]
    11098        db-version: [ '5.7', '8.4' ]
    11199        wp: [ '6.0', '6.3', '6.4', '6.5' ]
    112100        multisite: [ false, true ]
    113 
    114         exclude:
    115           # The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
    116           - php: '7.2'
    117             db-version: '8.4'
    118     with:
    119       os: ${{ matrix.os }}
    120       php: ${{ matrix.php }}
    121       db-type: ${{ matrix.db-type }}
    122       db-version: ${{ matrix.db-version }}
    123       wp: ${{ matrix.wp }}
    124       new-version: ${{ inputs.new-version && inputs.new-version || 'latest' }}
    125       multisite: ${{ matrix.multisite }}
    126 
    127   # Tests 5.x releases where the WordPress database version changed on the oldest and newest supported versions of PHP 7.
     101    with:
     102      os: ${{ matrix.os }}
     103      php: ${{ matrix.php }}
     104      db-type: ${{ matrix.db-type }}
     105      db-version: ${{ matrix.db-version }}
     106      wp: ${{ matrix.wp }}
     107      new-version: ${{ inputs.new-version && inputs.new-version || 'latest' }}
     108      multisite: ${{ matrix.multisite }}
     109
     110  # Tests 5.x releases where the WordPress database version changed on the only supported version of PHP 7.
    128111  upgrade-tests-wp-5x-php-7x-mysql:
    129112    name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
    … …  
    136119      matrix:
    137120        os: [ 'ubuntu-24.04' ]
    138         php: [ '7.2', '7.4' ]
     121        php: [ '7.4' ]
    139122        db-type: [ 'mysql' ]
    140123        db-version: [ '5.7', '8.4' ]
    141124        wp: [ '5.0', '5.1', '5.3', '5.4', '5.5', '5.6', '5.9' ]
    142125        multisite: [ false, true ]
    143 
    144         exclude:
    145           # The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
    146           - php: '7.2'
    147             db-version: '8.4'
    148126    with:
    149127      os: ${{ matrix.os }}
    … …  
    200178      matrix:
    201179        os: [ 'ubuntu-24.04' ]
    202         php: [ '7.2', '7.3', '7.4' ]
     180        php: [ '7.4' ]
    203181        db-type: [ 'mysql' ]
    204182        db-version: [ '5.7', '8.0', '8.4', '9.5' ]
    205183        wp: [ '4.7' ]
    206184        multisite: [ false, true ]
    207 
    208         exclude:
    209           # The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
    210           - php: '7.2'
    211             db-version: '8.4'
    212           - php: '7.3'
    213             db-version: '8.4'
    214           # MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
    215           - php: '7.2'
    216             db-version: '9.5'
    217           - php: '7.3'
    218             db-version: '9.5'
    219185    with:
    220186      os: ${{ matrix.os }}
Note: See TracChangeset for help on using the changeset viewer.