2014-10-28 104 views
2

我想運行Zotero只數據服務器根據this documentation配置Zotero只服務器

設立Zotero只數據服務器的步驟,我運行$ sudo ./test_reset命令,它給我Reset is successfull. Now run ./test_setup

當我運行此命令$ sudo ./test_setup它顯示了這個錯誤

PHP Fatal error: Class 'Z_CONFIG' not found in /srv/http/ZoteroDataServer/include/header.inc.php on line 91 

而這個ID我server php -v

PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep 4 2014 06:56:34) 
Copyright (c) 1997-2014 The PHP Group 
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies 
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies 

我能做些什麼來解決問題?

回答

2

您必須修改config/config.inc.php並將第一行從「< \?」更改爲「到「< \?php」(刪除\包括這裏繞過StackOverflow中的html解析)...然後你需要修改dpconnect.inc.php並正確設置mysql的密碼,執行「service memcached restart」來確保該memcached正在運行,然後test_setup應該正常工作。這就是我在RHEL6中所要做的...

+0

這就是爲什麼我喜歡stackoverflow ...謝謝@Doug。 – 40Alpha 2017-07-12 15:11:38