Welcome to Centmin Mod Community
Register Now

Beta Branch fix inc/zendopcache_upgrade.inc opprotect function

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 27, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fix inc/zendopcache_upgrade.inc opprotect function


    On PHP upgrades with Zend Opcache set to yes, previously the opprotect function wouldn't fire on repeated upgrades due to an improper check of whether *_opcache.php file existed in /usr/local/nginx/html directory. The fixed routine detects if /usr/local/nginx/html/*_opcache.php exists and if more than one exists due to the random number prefix, remove all other copies leaving the oldest copy (initial zend opcache installed one) intact.

    Continue reading...

    123.08beta03 branch

    * 123.08beta03 branch is the merging of the 3 branches - .08 beta 02 + 123.08lua + 123.08livestats so the new beta has both Nginx Lua + LuaJIT support + new Nginx vhost traffic statistics