Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

PHP error_log错误日志信息文件

[复制链接]
28xl 发表于 2015-11-6 16:27:04 | 显示全部楼层 |阅读模式
这个不知道是不是程序-BUG
PHP error_log错误日志信息文件竟达好多G,
记事本打开是些这样的

[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
[06-Nov-2015 12:40:26 Etc/GMT-8] PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in D:\127.0.0.1\source\class\discuz\discuz_database.php on line 177
lushang 发表于 2015-11-9 15:45:24 | 显示全部楼层
应该是你的php版本太高了,可以安装一个低版本的php试试
回复

使用道具 举报

 楼主| 28xl 发表于 2015-11-10 18:58:58 | 显示全部楼层
lushang 发表于 2015-11-9 15:45
应该是你的php版本太高了,可以安装一个低版本的php试试

版本为php5.4.13
低版本应该没有高版本好吧
回复

使用道具 举报

lushang 发表于 2015-11-11 09:32:22 | 显示全部楼层
28xl 发表于 2015-11-10 18:58
版本为php5.4.13
低版本应该没有高版本好吧

那奇怪了。

如果纯粹说php本身,那搞版本肯定更好。但是discuz这负责的系统,并是在高版本php发布时马上做优化。这带来的问题是,例如高版本中php使用了更好的函数代替原有某些函数,而原有函数是Discuz经常用到的,那么这时运行discuz的话可能就会出问题。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-24 23:58 , Processed in 0.021353 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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