ubuntu 安装 php curl

架设你已经安装了LAMP. 需要安装cURL 在你的Linux计算机上,比如Ubuntu,运行一下命令行在终端:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

安装完毕之后,需要重新启动apache, 在终端运行命令:

sudo /etc/init.d/apache2 restart
posted @ 2015-08-20 11:31  dcj890828  阅读(73)  评论(0编辑  收藏  举报