Welcome to Centmin Mod Community
Register Now

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

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