标签:make bin hub zip http com phpize div stat
一、下载Qconf的zip包
1.进入github地址:https://github.com/Qihoo360/QConf,下载zip包文件,并上传至服务器
二、安装QConf
unzip QConf-master.zip && cd QConf-master //解压QConf-master
mkdir build && cd build //创建安装目录
cmake .. //开始解析安装
make && make install (安装完成) //安装
三、安装QConf php扩展安装
cd ../driver/php/ //进入php扩展目录,从当前目录找一下driver目录,然后进入php扩展目录
/usr/bin/phpize //执行该命令,没有的话下载php-develop
./configure --with-php-config=/usr/local/php/bin/php-config --with-libqconf-dir=/usr/local/include/qconf --enable-static LDFLAGS=/usr/local/lib/libqconf.a
make
make install
qconf.so //就会在php的扩展目录/usr/local/php/extensions/
然后在php.ini中添加extension=qconf.so,重启php-fpm即可
标签:make bin hub zip http com phpize div stat
原文地址:https://www.cnblogs.com/wt645631686/p/9858367.html