Learn about Centmin Mod LEMP Stack today
Register Now

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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:12 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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.