Learn about Centmin Mod LEMP Stack today
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

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    8:22 PM
    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...

    Centmin Mod Github Master branch

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