linux下配置php扩展swoole

2025-06-07 11:56:33

1、在百度搜索swoole,知道如下界面,

linux下配置php扩展swoole

2、打开官网去github上去下载源码

linux下配置php扩展swoole

3、复制链接地址同linux命令进行下载

linux下配置php扩展swoole

4、下载完成以后直接解压文件包,tar -zxvf filename.tar.gz

linux下配置php扩展swoole

5、进入刚刚解压的文件包里面,执行phpize生成配置文件

linux下配置php扩展swoole

6、执行./configure生成变异文件

linux下配置php扩展swoole

7、make &&make install 执行变异和安装

linux下配置php扩展swoole

8、修改配置文件php.ini

linux下配置php扩展swoole

9、重启httpd去查看phpinfo()是否支持这个扩展,如下图所示就说明安装成功了。

linux下配置php扩展swoole
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢