bugfree登录后报错PHP Fatal error: Call-time pass-by-reference has been removed in

详细报错信息[Tue Apr 25 06:49:07.556316 2017] [:error] [pid 21799] [client *.*.*.*:55813] PHP Fatal error:  Call-time pass-by-reference has been removed in /var/www/html/bugfree/Include/Class/XmlParse.class.php on line 46, referer: http://192.168.0.229/bugfree/SearchBug.php

解决方法:

把里面所有带&$前缀的&去掉即可

sed -i 's/\&\$/\$/g' /var/www/html/bugfree/Include/Class/XmlParse.class.php

 

posted @ 2017-04-25 15:16  巫谢  阅读(352)  评论(0编辑  收藏  举报