ubuntu下使用 apt-get install 安装php扩展库mcrypt、curl、gd

伊谢尔伦
Release: 2016-11-29 11:34:45
Original
6132 people have browsed it

Ubuntu的软件包下载、安装工具:apt-get非常好用,而且Ubuntu的软件源提供了大部分常用的软件包,所以,在Ubuntu下安装php的扩展库mcrypt、curl和gd库是非常简单的,输入如下命令即可自动完成(以下安装前提是系统安装了PHP5):

apt-get install php5-mcrypt;
apt-get install php5-curl;
apt-get install php5-gd;
Copy after login

安装完成后,

重启apach服务即可:service apache2 restart;

访问你的服务器,

显示php信息:

就可以看到上述的三个库已经安装好了。


Related labels:
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 [email protected]
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!