In ubuntu15.04, the php plug-in mcrypt cannot be used.

Source: Internet
Author: User
Tags mcrypt
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

?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.