Ubuntu software package download and installation tool: apt-get is very easy to use, and the Ubuntu Software source provides most of the commonly used software packages, so, installing the php Extension Library mcrypt, curl, and gd in Ubuntu is very simple. you can run the following command automatically ): ubuntu software package download and installation tool: apt-get is very easy to use, and the Ubuntu Software source provides most of the commonly used software packages, so, installing the php Extension Library mcrypt, curl, and gd in Ubuntu is very simple. you can run the following command automatically ):
Apt-get install php5-mcrypt; apt-get install php5-curl; apt-get install php5-gd;
After the installation is complete,
Restart the apach service: service apache2 restart;
Access your server,
Display php information:
You can see that the above three libraries have been installed.