The php language comes with many encryption and decryption methods and extensions. today we will introduce one of the extended mcrypt extensions, which encapsulates common encryption algorithms. In fact, this extension is the encapsulation of the
Ubuntu package download, installation tools: Apt-get is very useful, and Ubuntu's software source provides most of the commonly used packages, so it is very simple to install PHP extension Library mcrypt, Curl and GD library under Ubuntu, You can do
The PHP language comes with a lot of encryption and decryption methods and extensions, and today we present one of the extensions
MCryptExtension, the MCrypt extension completes the encapsulation of common cryptographic algorithms. In fact, the
{Code...} after I installed it, The mcrypt extension is not displayed in $ php-m. Do I need to set it further or what is going on?
$ apt-get install php5-mcrypt
After installation$ php -mThe mcrypt extension is not displayed in. Do you need to set
Apache2mysqlphp is installed on Ubuntu. It can be said that it is easy, but for a person I don't know about php, it is difficult to go around a lot in the middle. I will write down the main things that have taken a long time, other issues are minor
Use the command to install the apt-getinstallphp5-mcrypt and apt-getinstallphp5-gd; restart apache but the php5-mcrypt can not take effect in time, gd library can take effect in time, do not know why? Then sudophp5enmodmcrypt can take effect. For
Problem solving 1. install apt-getinstallphp5-mcrypt2. edit the php configuration file vim/etc/php5/cgi/php. ini locate mcrypt and add the red line below: [mcrypt]; Formoreinformationaboutmcryptsettingsseehttp: // php.net /...
Problem solving
1.
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 :?
Problem solving
1. Installing Apt-get Install Php5-mcrypt
2. Edit the PHP configuration file Vim/etc/php5/cgi/php.ini find MCrypt and add the red line below:
[MCrypt]; For more information about MCrypt settings See Http://php.net/mcrypt-module-open;
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.