php 安裝zookeeper擴充功能報錯

WBOY
發布: 2016-08-04 09:22:10
原創
2087 人瀏覽過

執行php -m | grep zookeeper後報錯誤
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zookeeper.so' - libzookeeper_mt.so.2: canules/zookeeper.so' - libzookeeper_mt.so.2: cannot open shared object open shared object. such file or directory in Unknown on line 0

回覆內容:

執行php -m | grep zookeeper後報錯誤
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zookeeper.so' - libzookeeper_mt.so.2: canules/zookeeper.so' - libzookeeper_mt.so.2: cannot open shared object open shared object. such file or directory in Unknown on line 0

不知道是不是版本原因,換了3.4.6版的zookeeper就可以了

http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz
/root/zookeeper-3.4.8/src/c
./configure - prefix=/usr/local/zookeeper/zookeeper-3.4.8/
php擴充
./configure --with-php-config=/usr/bin/php-config -with-libzookeeper-dir=/usr/local/ zookeeper/zookeeper-3.4.8/

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板