Welcome to Centmin Mod Community
Become a Member

Stable Branch fix PHP extension stripping crashing php-fpm after menu 5 in 132.00st…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 30, 2026 at 5:44 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,209
    12,603
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,261
    Local Time:
    7:09 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix PHP extension stripping crashing php-fpm after menu 5 in 132.00stable

    Menu 5 restarted php-fpm and then ran strip -s on the PHP extension .so
    files in place. On EL8/EL9, strip rewrites the same inode, which discards
    the running php-fpm's relocated pages for those files. New children then
    crashed with SIGSEGV (502s) until 100 failures triggered an emergency
    reload, and the master also crashed during module shutdown.

    Changes:
    - php_configure.inc: add strip_php_binary(), which strips a private copy
    and renames it into place, and strip each extension through it in
    strip_php_extensions(), so loaded mappings stay intact and no extra
    php-fpm restart is needed (ported from 141.00beta01)

    Continue reading...

    132.00stable branch