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

WBOY
Release: 2016-06-23 14:30:03
Original
857 people have browsed it

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!