swoole 源码安装
官网下载,解压
命令unzip 【文件名】
在解压后目录中运行php目录中的phpize,获取./configure文件
安装
./configure -- with-php-config=/php/bin/php-config
make && make install
进去php.ini,打开swoole,没有就增加。
extension=swoole
查看占用端口程序命令
netstat -anp | grep 9501
官网下载,解压
命令unzip 【文件名】
在解压后目录中运行php目录中的phpize,获取./configure文件
安装
./configure -- with-php-config=/php/bin/php-config
make && make install
进去php.ini,打开swoole,没有就增加。
extension=swoole
查看占用端口程序命令
netstat -anp | grep 9501