Home > Article > Backend Development > Use apt-get install to install the PHP extension libraries mcrypt, curl, and gd under ubuntu
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.