Home > Backend Development > PHP Tutorial > PHP error when installing zookeeper extension

PHP error when installing zookeeper extension

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:22:10
Original
2140 people have browsed it

An error is reported after executing php -m | grep zookeeper
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zookeeper.so' - libzookeeper_mt.so.2: cannot open shared object file: No such file or directory in Unknown on line 0

Reply content:

An error is reported after executing php -m | grep zookeeper
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zookeeper.so' - libzookeeper_mt.so.2: cannot open shared object file: No such file or directory in Unknown on line 0

I don’t know if it’s due to the version, but I just changed to zookeeper version 3.4.6 and it’s fine

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 extension
./configure --with-php-config=/usr/bin/php-config -with-libzookeeper-dir=/usr/local/ zookeeper/zookeeper-3.4.8/

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template