解决方法1:
禁止php报错
display_errors = On 改为 display_errors = Off
display_errors = On
改为
display_errors = Off
鉴于这个服务器都是给用户用的,有时候他们需要报错(...都是给朋友用的,^_^),不能这做,让他们改程序吧,看方案2.
解决方法2:
常用的php语法连接mysql如下
微信扫一扫
禁止php报错
display_errors = On 改为 display_errors = Off
display_errors = On
改为
display_errors = Off
鉴于这个服务器都是给用户用的,有时候他们需要报错(...都是给朋友用的,^_^),不能这做,让他们改程序吧,看方案2.
常用的php语法连接mysql如下
相关推荐