系统   2023-12-24 21:13   377   0  
(CRON) INFO (Syslog will be used instead of sendmail.) (CRON) INFO (RANDOM_DELAY will be scaled with factor 0% if used.) (CRON) INFO (running with inotify support) (CRON) INFO (@reboot jobs will be run at computer's startup.)
系统   2023-12-07 22:58   313   0  
php配置文件中找到expose_php默认是expose_php=On,修改为expose_php=Off,重启php-fpm,返回信息中就不再有php及版本信息。下图的红框信息就会被隐藏。