1.修改php-fpm.conf中配置 沒有則增長catch_workers_output = yeserror_log = log/error_logphp
2.修改php.ini中配置,沒有則增長log_errors = Onerror_log = "/usr/local/lnmp/php/var/log/error_log"error_reporting=E_ALL&~E_NOTICEide
3.重啓php-fpmphp-fpm