1.error_log($message,$message_type,$destination,$extra_headers)函数,
2.message_type 是0,发送信息到php.ini配置的..., 1,"630892807@qq.com");//直接发送到邮箱,需要配置postfix和php.ini的sendmail
直接包安装postfix和配置cli和fpm下的sendmail部分...3.message_type 是3就发送到第三个参数指定的文件中
4.message_type 是4直接发送到 SAPI 的日志处理程序中,比如返回给了nginx,可以在nginx配置的error_log