你先安装 安装了就支持了。系统级:sudo apt-get install curl如果你是想表达安装 PHP CURL 扩展,那么是下面sudo apt-get install php7.1-curl最好先搜索一下 sudo apt-cache search 7 ,就可以看到7.0和7.1开头的,选择符合你自己php 版本的即可。