转载于
https://segmentfault.com/a/1190000009068818
1、通过命令搜索可用扩展:
sudo apt-cache search curl
结果如下:


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


3、重启php7.1 完成!

本文介绍如何在Ubuntu系统中为PHP 7.1安装cURL扩展。首先使用命令`sudo apt-cache search curl`查找可用的扩展包,然后通过`sudo apt-get install php7.1-curl`进行安装,并最后重启PHP 7.1服务。
转载于
https://segmentfault.com/a/1190000009068818
1、通过命令搜索可用扩展:
sudo apt-cache search curl
结果如下:


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


3、重启php7.1 完成!

1400
1383
4877

被折叠的 条评论
为什么被折叠?