Derick Rethans Continue reading...
Update process outlined at PHP 7.4.5, 7.3.17, 7.2.30 Security Updates + Backported PHP 7.1.33, 7.0.33 & 5.6.40
For me it is not working. I add variable DMOTD_PHPCHECK='y' But still not showing php version. I restarted php and nginx after added that variable
did you run cmupdate first ? what is output for Code (Text): getphpver "$(php-config --version | awk -F '.' '{print $1$2}')" and Code (Text): php-config --version output would only show if both outputs do not match. If they match it means you already have latest PHP version, so no PHP version notice would be shown. the getphpver command tries to check what the latest php version available is Code (Text): getphpver 7.4.5 7.3.17 7.2.30 7.1.33 7.0.33 5.6.40 5.5.38 Code (Text): getphpver 74 7.4.5 Code (Text): getphpver 73 7.3.17 Code (Text): getphpver 72 7.2.30 Code (Text): getphpver 71 7.1.33
yep Code: # getphpver "$(php-config --version | awk -F '.' '{print $1$2}')" 7.4.5 Code: # php-config --version 7.4.5
as expected it's working as your output match which means you already have latest PHP version, so no PHP version notice would be shown.