Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch update dmotd.sh with Nginx/PHP debug checks in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 25, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    49,039
    11,235
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,488
    Local Time:
    11:39 PM
    Nginx 1.21.x
    MariaDB 10.x
    update dmotd.sh with Nginx/PHP debug checks in 130.00beta01

    - update dmotd.sh which is installed at /usr/local/bin/dmotd with DMOTD_PHPCHECK_DEBUG='y' and DMOTD_NGINXCHECK_DEBUG='y' variable support
    - when either variable is enabled along with DMOTD_PHPCHECK='y', logging into your server via SSH will show verbose output for PHP check and log verbose info to logs for Nginx at /root/centminlogs//cmm-login-nginxver-check-debug_${DT}.log and /root/centminlogs/cmm-login-phpver-check-debug_${DT}.log respectively to aid in troubleshooting issues with the Nginx and PHP version checks at SSH login
    - existing users of 130.00beta01 need to run cmupdate and run centmin.sh menu once and exit for applying this update to your copy of /usr/local/bin/dmotd


    Continue reading...

    130.00beta01 branch