网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

linux下配置php扩展swoole

时间:2024-10-15 08:28:16

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
© 2026 海能知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com