Get the most out of your Centmin Mod LEMP stack
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

    30,196
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    5:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    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.