标签 php错误 下的文章

php开启与关闭错误提示

2019-03-19丨运维丨评论 丨1292 次阅读
windows系统开关php错误提示如果不具备修改php.ini的权限也可在php文件中加入以下任意一行代码禁用错误报告error_reporting(0);报告运行时错误error_reporting(E_ERROR | E_WARNING | E_PARSE);报告所有错误error_reporting(E_ALL);当然,如果能够修改php.ini的话,如下即可:代码如下 复制代码找到dis

解决 Warning: date_default_timezone_get() 错误

2019-03-19丨运维丨评论 丨1608 次阅读
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case y

热门文章

最新回复

标签

© 2025 有思维. / 渝ICP备18017303号-1 / T:15 ms / 返回顶部