标签:
https://github.com/swoole/php-cp 下载包
phpize=>./configure=>make install=>echo "extensions=xx/connect_pool.so">php.ini
我的php按照目录:/usr/local/php6
我的下载包目录:~/下载
cd 下载
cd php-cp-master/
/usr/local/php6/bin/phpize
./configure --with-php-config=/usr/local/php6/bin/php-config
make
sudo make install
cd etc
sudo vim php.ini
cd ..
bin/php -m
cd ~/下载/php-cp-master
sudo cp pool.ini /etc/
sudo chmod a+x pool_server
sudo php pool_server start
sudo killall php-fpm
ps -ef|grep fpm
sudo kill -9 12644
sudo fpm
sudo /usr/local/php6/bin/php pool_server start
标签:
原文地址:http://www.cnblogs.com/flyyu21/p/5485767.html