我想使用Text_Diff - 我之前使用过它,但它已经有一段时间了。 我安装了PEAR,然后安装了Horde Text_Diff ..
我必须更新我的梨路径,但在成功完成后,我现在收到以下消息:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 383
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 405
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 427
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 449
Fatal error: Class 'Horde_Text_Diff' not found in /home/key88crazy/reviewmypractice.com/merge/canvis/diff.php on line 10
我已经为此寻找解决方案,并找到了关于这个问题的相关信息,但还没有任何工作。
第一个解决方案: 我找到了一些关于& amp;被弃用,所以我试图删除&我被指示的地方,但那不起作用。
接下来,我尝试卸载所有内容,然后重新安装。我做了这个,重新启动了我的网络服务器,但问题仍然存在。
以下是我的一些服务器信息:
php -v
PHP 5.4.37 (cli) (built: Feb 8 2015 08:55:06)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"
最后,第一期缺失的课程部分是致命错误吗?