转载于

https://segmentfault.com/a/1190000009068818

1、通过命令搜索可用扩展:
sudo apt-cache search curl
结果如下:
ubuntu php7.1 安装curl

ubuntu php7.1 安装curl

2、执行命令
sudo apt-get install php7.1-curl

ubuntu php7.1 安装curl

ubuntu php7.1 安装curl

3、重启php7.1 完成!

ubuntu php7.1 安装curl

相关文章:

  • 2021-08-15
  • 2022-02-03
  • 2021-10-27
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-15
猜你喜欢
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-09-18
  • 2021-11-20
  • 2021-11-26
相关资源
相似解决方案