php 显示错误方法
set_error_handler(function($errno, $errstr, $errfile, $errline)
{
echo $errno.‘<br/>‘.$errstr.‘<br/>‘.$errfile.‘ line:‘.$errline;
});
nginx 设置php config
fastcgi_param PHP_ADMIN_VALUE session.save_path=/tmp;
php 显示错误方法
原文地址:https://www.cnblogs.com/anjunact/p/8616126.html