Welcome to Centmin Mod Community
Register Now

Beta 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

    55,802
    12,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,858
    Local Time:
    10:58 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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...

    123.08beta03 branch

    * 123.08beta03 branch is the merging of the 3 branches - .08 beta 02 + 123.08lua + 123.08livestats so the new beta has both Nginx Lua + LuaJIT support + new Nginx vhost traffic statistics