php开启调式模式,解决开发过程中不报错的问题,方式程序调试。
方法:
1.打开php.ini文件约305行
2.找到error_reporting = E_ALL & ~E_NOTICE,把前面注释去掉,设置完毕。
一.apache: 1).安裝httpd yum install httpd -y 2). httpd 常用命令 apache 2.4 /bin/systemctl stop httpd.service 停止服務 /
轉自:http://www.eeice.com/archive/design/yii-sqldebug.html 更改配置文件:{config/main.php} 'db'=>array( 'connectionS