centos6.9+lnmp1.5环境部署swoole记录

hiredis下载地址:https://github.com/redis/hiredis/releases
unzip hiredis-v0.13.3.zip
make -j
sudo make install
sudo ldconfig

下载swoole源码 https://github.com/swoole/swoole-src/releases
unzip swoole-src.zip
cd swoole-src
/usr/local/php/bin/phpize
./configure --enable-async-redis --with-php-config=/usr/local/php/bin/php-config --enable-openssl
make clean
make
/usr/local/php/etc/php.ini 在disable_functions中去掉proc_open 和 proc_get_status
make install
/usr/local/php/etc/php.ini中载入extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/swoole.so


查看swoole支持功能
php --ri swoole

posted @ 2018-03-16 10:10 龙小六 阅读(...) 评论(...) 编辑 收藏