标题: PHP 显示错误消息如何关闭? [打印本页] 作者: kok 时间: 2010-4-7 20:42 标题: PHP 显示错误消息如何关闭? LNMP 默认安装后 PHP.INI 设置默认是显示错误消息的... 求教...改那里? 谢谢作者: cnx 时间: 2010-4-7 20:44
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
;
; possible values for display_errors:
;
; Off - Do not display any errors
; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
; On or stdout - Display errors to STDOUT (default)
;
; To output errors to STDERR with CGI/CLI:
;display_errors = "stderr"
;
; Default
;
display_errors = Off作者: cpuer 时间: 2010-4-7 20:55 标题: 回复 2# 的帖子 display_errors = Off 作者: kok 时间: 2010-4-7 22:14
谢谢两位C大作者: cnx 时间: 2010-4-8 10:31