Learn about Centmin Mod LEMP Stack today
Become a Member

Master Branch add PHP 7.0.33, 7.1.33 & 7.2 mysqlnd fix patch for MariaDB in 123.09b…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 13, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    45,633
    10,356
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,070
    Local Time:
    9:27 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    add PHP 7.0.33, 7.1.33 & 7.2 mysqlnd fix patch for MariaDB in 123.09beta01

    - control backport fix enablement via variable PHP_MYSQLND_PATCH_FIX='y' which is enabled by default will apply backported fixes to PHP <= 7.2 on PHP compilation at initial install or via centmin.sh menu option 5. If you want to test with backported fixes disabled, just set in persistent config file /etc/centminmod/custom_config.inc the variable PHP_MYSQLND_PATCH_FIX='n' and then run centmin.sh menu option 5 to recompile your version of PHP. This only applies for PHP 5.6.40, 7.0.33, 7.1.33, 7.2.x as PHP 7.3, 7.4 and 8.0 are not affected.
    - backport fix from PHP 7.3 for mysqlnd optimization which fixes MariaDB 10.5.7, 10.4.16, 10.3.26, 10.2.35 and 10.1.48 release issue as these versions have stricter packet validation as a security measure [MDEV-24121] Recent MariaDB update appears to have introduced a DB connection issue for PHP < 7.3 (or anything using PDO) - Jira outlined at MariaDB - MariaDB 10.5.7, 10.4.16, 10.3.26, 10.2.35 and 10.1.48 now available
    - fix for PHP 5.6.40 has less testing done as backported patch needed reworking as originally didn't apply cleanly
    - to update, run cmupdate command, then run centmin.sh menu option 5 to recompile your choice of EOL 7.0.33 or 7.1.33 or any PHP 7.2.34 or higher version. PHP 7.3+, 7.4+ and 8.0+ already natively has this fixed. If you manually applied patch outlined at MariaDB - MariaDB 10.5.7, 10.4.16, 10.3.26, 10.2.35 and 10.1.48 now available, you'd have additional step before cmupdate run to remove the manual patch created patch files via SSH commands below:

    Code (Text):
    cmdir
    rm -f patches/php/php*-mysqlnd-fix.patch
    cmupdate
    ./centmin.sh


    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.