1.http://pecl.php.net/package/swoole下载解压 2.cd 进去 3.phpize 4.指令:./configure --prefix=/usr/local/swoole --with-php-config=/usr/local/php/bin/php-config 5.make 6.make install
编译安装成功后,修改php.ini加入
php.ini
extension=swoole.so