摘要: PHP编码出错不提示,而是提示500错误,这对于开发来说,是很不方便的。下面讲解如何开启错误提示步骤:1. 打开php.ini文件。以我的ubuntu为例,这个文件在: /etc/php5/apache2 目录下。2. 搜索并修改下行,把Off值改成Ondisplay_errors = Off3. 搜索下行error_reporting = E_ALL & ~E_NOTICE或者搜索:error_reporting = E_ALL & ~E_DEPRECATED修改为error_reporting = E_ALL | E_STRICT4. 修改Apache的 httpd.con 阅读全文
posted @ 2013-07-30 01:55 一只柯楠 阅读(778) 评论(0) 推荐(0) 编辑