ubuntu安装php-curl拓展

首先输入
apt-cache search curl | grep php
查询curl的php支持名字
可能会返回如下内容:
php5-curl - CURL module for php5
安装:
sudo apt-get install php5-curl
重启apache
sudo /etc/init.d/apache2 restart

posted @ 2013-03-06 00:47  cateatmycode  阅读(144)  评论(0)    收藏  举报