Join the community today
Become a Member

Beta Branch Fix PHP 8.5+ zendopcache.ini fix placement bug in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 23, 2025.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:05 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Fix PHP 8.5+ zendopcache.ini fix placement bug in 140.00beta01

    The PHP 8.5+ check that comments out zend_extension was placed BEFORE
    the template copy operation in zendopcache_upgrade.inc. This meant fresh
    installs would copy the template with uncommented zend_extension, causing
    PHP 8.5+ to fail with "Failed loading Zend extension 'opcache.so'" error.

    Fixed by adding a second PHP 8.5+ check AFTER the template copy operation
    to ensure freshly copied zendopcache.ini files get the zend_extension line
    properly commented out for PHP 8.5+.

    Continue reading...


    140.00beta01 branch