Want to subscribe to topics you're interested in?
Become a Member

Master Branch update inc/wpsetup.inc

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 14, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    4:14 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    update inc/wpsetup.inc

    - fix bug in .wpcli-status status check
    - change nginx + php-fpm ngxrestart command to only trigger if zend opcache is installed and when opcache.revalidate_freq is set to greater than 10 seconds. The default value for opcache.revalidate_freq for installs is 180 seconds for better performance but if you have high traffic sites with many wordpress installs created from centmin.sh menu option 22, you may not want to have nginx and php-fpm restarted that often, so you can set opcache.revalidate_freq to a lower value like 10 instead o 180 and thus wp_updater cronjobs will skip ngxrestart triggers at cronjob runs. Issue was discussed at https://community.centminmod.com/posts/64778/

    Continue reading...

    Centmin Mod Github Master branch

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