一、下载swoole 源码 :https://www.swoole.com/
二、由于没有configure 所以要用phpize 编译 出 configure
三、/usr/local/soft/php/bin/phpize 编译用 configure
四、 ./configure --with-php-config=/usr/local/soft/php/bin/php-config
make
make install
extension=swoole.so
耐心之树 ©著作权
文章标签 swoole 源码安装 文章分类 前端开发
一、下载swoole 源码 :https://www.swoole.com/
二、由于没有configure 所以要用phpize 编译 出 configure
三、/usr/local/soft/php/bin/phpize 编译用 configure
四、 ./configure --with-php-config=/usr/local/soft/php/bin/php-config
make
make install
extension=swoole.so
源码编译安装 PHP 扩展 - 编译安装 swoole
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M