Learn about Centmin Mod LEMP Stack today
Register Now

Security PHP 8.1.29, 8.2.20, 8.3.8 Security Updates & Backported Fixes For PHP 7.2/7.3/7.4/8.0

Discussion in 'Centmin Mod News' started by eva2000, Jun 9, 2024.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    9:51 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP has released security & bug fix updates specifically for PHP 8.1.29, 8.2.20 and 8.3.8 (CVE-2024-5458). Centmin Mod has backported relevant security fixes for EOL PHP 5.6/7.0/7.1/7.2/7.3/7.4/8.0 versions. For Centmin Mod 124.00stable and 130.00beta01, you can update to those versions if you haven't already. And if you're already on Centmin Mod 124.00stable or 130.00beta01, you can pull this latest update to your server via cmupdate command.

    Centmin Mod 124.00stable supports max PHP 8.1 branch, for PHP 8.2 and PHP 8.3, you need to switch and update to Centmin Mod 130.00beta01 as outlined here.

    Ensure that you run cmupdate command to update your Centmin Mod local server code BEFORE you run the centmin.sh menu option 5 to update their PHP versions.

    PHP Releases


    • PHP 8.3.8 - is latest newest PHP 8.3 minor version
    • PHP 8.2.20 - latest newest PHP 8.2 minor version
    • PHP 8.1.29 - latest newest PHP 8.1 minor version. Centmin Mod tests at PHP 8.1.0 vs 8.0.13 vs 7.4.26 vs 7.3.33 vs 7.2.34 Benchmarks
    • PHP 8.0.30 - last release in PHP 8.0 branch which is now end of life - no more bug fixes or security updates.
    • PHP 7.4.33 - last release in PHP 7.3 branch which is now end of life - no more bug fixes or security updates. See PHP 7.4 End Of Life November 2022. If you're still using PHP 7.4.33, run cmupdate and re-run centmin.sh menu option 5 to recompile PHP 7.4.33 with backported security patch fixes.
    • PHP 7.2.34 - last release in PHP 7.2 branch which is now end of life - no more bug fixes or security updates. If you're still using PHP 7.2.34, run cmupdate and re-run centmin.sh menu option 5 to recompile PHP 7.2.34 with backported security patch fixes.
    • PHP 7.1.33 - last release in PHP 7.1 branch which is now end of life - no more bug fix or security updates. If you're still using PHP 7.1.33, run cmupdate and re-run centmin.sh menu option 5 to recompile PHP 7.1.33 with backported security patch fixes.
    • PHP 7.0.33 - last release in PHP 7.0 branch which is now end of life - no more bug fix or security updates. If you're still using PHP 7.0.33, run cmupdate and re-run centmin.sh menu option 5 to recompile PHP 7.0.33 with backported security patch fixes.
    • PHP 8.0.30, 7.4.33, 7.3.33, 7.2.34, 7.1.33, 7.0.33 & 5.6.40 are EOL as security and maintenance updates have ended. However, I have backported PHP 8.1+ security fixes to PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 and 8.0 branches for Centmin Mod 124.00stable/130.00beta01 and newer branches.

    PHP Change logs for



    Updating PHP On Centmin Mod LEMP Stacks


    • If you're on Centmin Mod 123.08stable and want PHP 7.1, 7.2, 7.3, 7.4, 8.0, or 8.1 support, you will need to update your server from Centmin Mod 123.08stable/123.09beta01 to either 124.00stable and 130.00beta01 first. If you want PHP 8.2/8.3 support only Centmin Mod 130.00beta01 will support that version.
      Code (Text):
      --------------------------------------------------------
             Centmin Mod Updater Sub-Menu           
      --------------------------------------------------------
      1). Setup Centmin Mod Github Environment
      2). Update Centmin Mod Current Branch
      3). Update Centmin Mod Newer Branch
      4). Exit
      --------------------------------------------------------
      Enter option [ 1 - 4 ] 3
      --------------------------------------------------------
      
    • For Centmin Mod 124.00stable or 130.00beta01 and newer, first update to latest version code via SSH command = cmupdate (same equivalent to centmin.sh menu option 23 submenu option 2 method). Then run centmin.sh menu option 5 to update to either PHP versions 8.3.8, 8.2.20, 8.1.29, 8.0.30 or 7.4.33 .
    • If you are on Centmin Mod 123.08stable and concerned about losing customisations when you upgrade to Centmin Mod 124.00stable or 130.00beta01, read this guide on how to upgrade and keep most of your customisations at How to upgrade Centmin Mod + backing up customisations.

    Centmin Mod 130.00beta01 PHP Update Example


    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 130.00beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  Option Being Revised (TBA)
    7).  Option Being Revised (TBA)
    8).  Option Being Revised (TBA)
    9).  Option Being Revised (TBA)
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: zstd,pigz,pbzip2,lbzip2
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Data Transfer (TBA)
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 5
    



    PHP-FPM Upgrade Issues



    If you have issues with PHP-FPM upgrades via Centmin Mod centmin.sh menu option 5, check your PHP upgrade logs for details https://community.centminmod.com/threads/how-to-troubleshoot-php-installs-upgrades.17857/
     
Thread Status:
Not open for further replies.