linux下配置php扩展swoole

2026-02-16 05:10:22

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

相关推荐
  • 阅读量:91
  • 阅读量:29
  • 阅读量:151
  • 阅读量:169
  • 阅读量:127
  • 猜你喜欢