ubuntu安装php-curl与php-tidy扩展

1、安装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

2、安装php-tidy扩展

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

 

推荐一个自己业余时间开发的网盘搜索引擎,360盘搜www.360panso.com

posted on 2012-08-19 13:03  上品物语  阅读(2732)  评论(0编辑  收藏  举报