PHP CI框架调试开启报错信息方法
程序员文章站
2022-04-08 19:09:26
方法如下三种: ......
方法如下三种:
1、php.ini 设置 display_errors = on error_reporting = e_all | e_strict 2、ci index.php 设置 define(‘environment’, ‘development’); error_reporting(e_all); 3、config/database.php中修改数据库设置: $db['default']['db_debug'] = true;
上一篇: ai怎么设计简单的新年礼物包装盒标志?
下一篇: 公司的洗手间是男女共用的