安装swoole扩展
wget http://luopengtest.gotoip2.com/wdcp/php/swoole-src-swoole-1.7.6-stable.tar.gz
tar xzf swoole-1.7.6-stable.tar.gz
cd swoole-src-swoole-1.7.6-stable
./configure --with-php-config=/www/wdlinux/phps/56/bin/php-config --enable-openssl
make
make install
vi /www/wdlinux/phps/56/etc/php.ini
添加extension=swoole.so
/www/wdlinux/phps/56/bin/php-fpm restart