Want more timely Centmin Mod News Updates?
Become a Member

Master Branch update inc/zendopcache_upgrade.inc and inc/php_upgrade.inc

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,926
    6,911
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,407
    Local Time:
    12:54 AM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/zendopcache_upgrade.inc and inc/php_upgrade.inc

    On initial install PHP 5.4 and Zend Opcache is the default now so _opcache.php is created at /usr/local/nginx/html along with /root/centminlogs/zendopcache_passfile.txt for the auto generated password protection for _opcache.php. However, if you upgrade to PHP 5.5/5.6, the old routine will detect that _opcache.php already exists and think that a new /root/centminlogs/zendopcache_passfile.txt file is generated. However, there isn't one, so at end of PHP upgrade you will get a error file not found for /root/centminlogs/zendopcache_passfile.txt file. This commit fixes that and checks for it so.

    Continue reading...

    Centmin Mod Github Master branch

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