Learn about Centmin Mod LEMP Stack today
Become a Member

Master 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

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    12:19 AM
    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...

    Centmin Mod Github Master branch

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