PHP version is 7.1, installed by apt-get, not compiled and installed.
我想大声告诉你2017-05-16 13:17:47
System level:
sudo apt-get install curl
If you want to express the installation of PHP CURL extension, then it is as follows
sudo apt-get install php7.1-curl
It is best to search sudo apt-cache search 7 first, and you can see the ones starting with 7.0 and 7.1. Just choose the one that matches your own PHP version.