LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 839|回复: 3

关于slackware 10下php的问题

[复制链接]
发表于 2004-8-11 05:32:49 | 显示全部楼层 |阅读模式
我在/etc/apache/php.ini里面已经设置了

  1. error_reporting  =  E_ALL
复制代码

但是不管用呀
即使我在写echo 的时候,往了加空格,也不报错,只是网页什么都不显示了.
请问给如何才能显示警告和报错呢?
 楼主| 发表于 2004-8-11 05:41:40 | 显示全部楼层
问题解决了

  1. ; - display_errors = Off           [Security]
  2. ;     With this directive set to off, errors that occur during the execution of
  3. ;     scripts will no longer be displayed as a part of the script output, and thus,
  4. ;     will no longer be exposed to remote users.  With some errors, the error message
  5. ;     content may expose information about your script, web server, or database
  6. ;     server that may be exploitable for hacking.  Production sites should have this
  7. ;     directive set to off.
复制代码
发表于 2005-1-26 02:26:36 | 显示全部楼层
有点不明白.
是把 display_errors = Off 换成 On 吗?
不过我改过也不行啊.
难道是注释掉它?我还没尝试,我去试验一下再说.谢谢,谢谢启示,我会再来的.
回复 支持 反对

使用道具 举报

发表于 2005-1-27 01:20:48 | 显示全部楼层
的确 是改成 on
可是很奇怪,前几次实验都不行,我把以前用的配置搬过来可以显示错误提示,
然后我重新改了一次,这次改成On就能显示了.很奇怪,不过现在已经能显示了。这个问题就告一段落了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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