$sudo apt-get install php5-gd curl libcurl3 libcurl3-dev php-curl
执行后显示
Reading package lists... DoneBuilding dependency tree Reading state information... DoneNote, selecting 'E: Unable to locate package php-curl
提示:libcurl3-dev改为libcurl4-openssl-dev
去掉php-curl 命令如下正常执行,为什么php-curl找不到?软件源以更新
sudo apt-get install php5-gd curl libcurl3 libcurl4-openssl-dev