php.ini
里面设置display_errors = On 开启错误提示,error_reporting = E_ALL & ~E_NOTICE 设置错误等级。也可以在php文件中
ini_set('display_errors', 1);//设置开启错误提示
error_reporting('E_ALL & ~E_NOTICE ');//错误等级提示
相关文章
- jQuery的$.get()函数不执行以及php端报错Uncaught Error: Call to a member function bind_param() on boolean in...
- Mysql5.7自定义函数递归报错1424 Recursive stored functions and triggers are not allowed
- wampserver 报错 Fatal error:Call to undefined function curl_init()
- linux下weblogic11g成功安装后,启动报错Getting boot identity from user
- "微信全球商业创新大赛-创意中国2015"国际MBA商业挑战赛开启
- iOS开发之--png图片编译时报错 (Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 1 )
- 报错 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
- 服务降级 托底预案 Nginx中使用Lua脚本检测CPU使用率,当达到阀值时开启限流,让用户排队
- 关于ASP.NET 服务器报错 Server Error in '/' Application Runtime Error 错误及解决方法
- conda 环境Pip报错Script file ‘D:\Anaconda3\Scripts\‘ is not present.