下载:https://github.com//swoole/swoole-src/archive/swoole-1.8.5-stable.tar.gz安装
/wdzj/lnmp/php5.6.11/bin/phpize
tar xf swoole-src-swoole-1.8.5-stable.tar.gz 
cd swoole-src-swoole-1.8.5-stable
./configure --enable-sockets --with-php-config=/wdzj/lnmp/php5.6.11/bin/php-config --enable-swoole-debug --enable-async-mysql
make && make install
ll /wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226
修改PHP.ini
extension=/wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/swoole.so
#####################
echo "extension=/wdzj/lnmp/php5.6.11/lib/php/extensions/no-debug-non-zts-20131226/swoole.so" >>/wdzj/lnmp/php5.6.11/lib/php.ini
Make sure that you run '/wdzj/source/php-5.3.28/scripts/phpize' in the top level source directory of the module来源:http://www.tuicool.com/articles/2MrE7v