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