cd /usr/local/src
wgethttps://pecl.php.net/get/swoole-2.1.1.tgz
tar -zxvf swoole-2.1.1.tgz
cd swoole-2.1.1
phpize
./configure
make
make install
php.ini配置加上extension=swoole.so
重启php-fpmservice php-fpm restart
查看phpinfo即可
cd /usr/local/src
wgethttps://pecl.php.net/get/swoole-2.1.1.tgz
tar -zxvf swoole-2.1.1.tgz
cd swoole-2.1.1
phpize
./configure
make
make install
php.ini配置加上extension=swoole.so
重启php-fpmservice php-fpm restart
查看phpinfo即可
小白表示看不懂,linux怎么安装
来点实际的,比如说网盘[得瑟]
wget没空格开,你这是坑人啊
看这些就算了,太难了!