Home  >  Article  >  Backend Development  >  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

伊谢尔伦
伊谢尔伦Original
2016-11-29 11:34:456274browse

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;

After the installation is completed,

restart the apach service: service apache2 restart;

Access your server,

display php Information: 273e1b6ce1cb5fa93ac61455fba91e2f

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


Statement:
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
Previous article:Arrays and strings in phpNext article:Arrays and strings in php