全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3267|回复: 9
打印 上一主题 下一主题

[疑问] PHP 显示错误消息如何关闭?

[复制链接]
跳转到指定楼层
1#
发表于 2010-4-7 20:42:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
LNMP 默认安装后 PHP.INI 设置默认是显示错误消息的...   求教...改那里? 谢谢
2#
发表于 2010-4-7 20:44:28 | 只看该作者
; 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
3#
发表于 2010-4-7 20:55:55 | 只看该作者

回复 2# 的帖子

display_errors = Off  
4#
 楼主| 发表于 2010-4-7 22:14:01 | 只看该作者
谢谢两位C大
5#
发表于 2010-4-8 10:31:25 | 只看该作者
原帖由 kok 于 2010-4-7 22:14 发表
谢谢两位C大

6#
发表于 2010-4-8 10:36:03 | 只看该作者
这么说我是h字辈的了?
7#
发表于 2010-4-8 10:52:03 | 只看该作者
记录下备用·
8#
发表于 2010-4-8 10:54:33 | 只看该作者
干嘛要关掉?开着调试方便
9#
发表于 2010-4-8 10:55:48 | 只看该作者
原帖由 wzwen 于 2010-4-8 10:54 发表
干嘛要关掉?开着调试方便

在生产环境调试啊?
10#
发表于 2010-4-8 18:21:46 | 只看该作者

回复 6# 的帖子

...那我岂不知Z字辈的了 ~~~~(>_<)~~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-10-30 09:03 , Processed in 0.061712 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表