Home > Backend Development > PHP Tutorial > Use apt-get install to install the PHP extension libraries mcrypt, curl, and gd under ubuntu

Use apt-get install to install the PHP extension libraries mcrypt, curl, and gd under ubuntu

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

Ubuntu’s software package download and installation tool: apt-get is very easy to use, and Ubuntu’s software source provides most commonly used software packages. Therefore, it is very simple to install the PHP extension libraries mcrypt, curl and gd libraries under Ubuntu. Yes, enter the following command to complete it automatically (the following installation assumes that PHP5 is installed on the system):

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

After the installation is completed,

restart the apach service: service apache2 restart;

Access your server,

display php Information:

You can see that the above three libraries have been installed.


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 admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template