In ubuntu15.04, the php plug-in mcrypt cannot be used. The installation of the GD library is actually a command :? Sudoapt-getinstallphp5-gd ??? In addition, use this method to open apache rewrite :? Sudoa2enmodrewritevietcapache2sites-enabled000-default? (Here I want to reiterate that the 000-default file is in the new
In ubuntu 15.04, the php plug-in mcrypt cannot be used. The installation of the GD library is actually a command :? Sudo apt-get install php5-gd? ? ? In addition, use this method to open apache rewrite :? Sudo a2enmod rewritevi/etc/apache2/sites-enabled/000-default? (Here I want to reiterate that the 000-default file is in the new
In ubuntu 15.04, the php plug-in mcrypt cannot be used.
Install the GD library with the following command:
?
sudo apt-get install php5-gd
?
?
?
In addition, use this method to open apache rewrite:
?
sudo a2enmod rewritevi /etc/apache2/sites-enabled/000-default
? (I would like to reiterate that the 000-default file is no longer visible in the new version. You can directly run the command to start this module)
?
Change AllowOverride None to AllowOverride All
Sudo apache2ctl restart
?
Be sure to pay attention when installing the mcrypt module,
sudo apt-get install php5-mcrypt
? Install this file.
libmcrypt-dev php5-mcrypt libmcrypt4
? None
?
Install curl
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
?