# zookeeper-admin **Repository Path**: eluup/zookeeper-admin ## Basic Information - **Project Name**: zookeeper-admin - **Description**: Administration Tool for Zookeeper Cluster - **Primary Language**: PHP - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2017-05-18 - **Last Updated**: 2021-01-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Zookeeper Admin ==== Administration Tool for Zookeeper Cluster. Requirements ---- * [PHP Libzookeeper Extension](https://github.com/Timandes/libzookeeper) Install ---- $ cp config.sample.php config.php $ vi config.php ---- 依赖安装 ==== ---- #安装php-zookeeper ==== #进入zookeeper-c 扩展源码 cd /path/zookeeper/src/c #安装zookeeper-lib 到 /usr/local/libzookeeper ./configure --prefix=/usr/local/libzookeeper make && make install ---- #安装php-zookeeper ==== #下载 php-zookeeper 扩展 https://pecl.php.net/package/zookeeper wget https://pecl.php.net/get/zookeeper-0.3.2.tgz tar -zxvf zookeeper-0.3.2.tgz cd zookeeper-0.3.2 ./configure --with-php-config=/usr/local/php/bin/php-config --with-libzookeeper-dir=/usr/local/libzookeeper/ make && make install #添加 zookeeper.so 到 php.ini 中 #php.ini 查找方式 : php -r "phpinfo();" | grep php.ini echo 'extension=zookeeper.so' >> /path/php.ini