Opencats安装错误

时间:2013-12-11 07:16:26

标签: php linux

enter image description here我正在尝试安装opencats。安装时我收到以下错误.. 有什么问题?

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/opencats/ajax.php on line 86

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/opencats/ajax.php on line 87

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/opencats/ajax.php on line 86

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/opencats/ajax.php on line 87


Test Results
Antiword binary failed to convert a DOC file to text properly (Should have returned 'This is a test document', returned '').
Pdftotext binary failed to convert a PDF file to text properly (Should have returned 'This is a test document', returned '').
Html2Text binary /usr/bin/html2text does not exist.
UnRTF depends on Html2Text and can not execu

3 个答案:

答案 0 :(得分:1)

不推荐使用ereg_replace。替代方案是preg_replace。

这篇文章似乎证明了这一点:Replacing deprecated ereg_replace() with preg_replace() did not work

答案 1 :(得分:1)

这不是严重错误,您可以通过在php.ini文件中将display_errors更改为off来禁止这些消息。

答案 2 :(得分:1)

即使是php 5.6工作的opencats也可以从Here

下载

注意

作为开源的CATS开发已于2008年停止.OpenCATS继续发展。但专注于OSATS。所以http://sourceforge.net/projects/candidats继续从CATSONE掉线的项目开始。