PHP mcrypt module assembly

Source: Internet
Author: User
Question :? Http://sourceforge.net/project/showfiles.php? Group_id = 87941 & amp; package_id = 91 install the mcrypt module of PHP
First, download the three software (different compression versions are provided by me), which are
Libmcrypt-2.5.8.tar.gz
:? Http://sourceforge.net/project/showfiles.php? Group_id = 87941 & package_id = 91774 & release_id = 487459
Mhash-0.9.9.tar.gz
:? Http://sourceforge.net/project/showfiles.php? Group_id = 4286 & package_id = 4300 & release_id = 645636
Mcrypt-2.6.8.tar.gz
:? Http://sourceforge.net/project/showfiles.php? Group_id = 87941 & package_id = 91948 & release_id = 642101
All three files must be downloaded to compile an mcrypt. so file. Ah!
Then upload the program to the server. (of course, if you download the program directly from the linux server, you don't need to upload it. isn't that nonsense)
Tar zxvf libmcrypt-2.5.8.tar.gz // Extract
Cd libmcrypt-2.5.8 // into the directory, and then start to install.
The installation starts below. The three files are the same process.
./Configure
Make
Make install

Then add the mbstring module. -- |

Find the php source code package/usr/local/src/php-5.2.14
The php installation directory is/usr/local/php.
# Cd/usr/local/src/php-5.2.14/ext/mcrypt/
#/Usr/local/php/bin/phpize
#./Configure-with-php-config =/usr/local/php/bin/php-config
# Make
# Make install
After Execution, add extension = mcrypt. so to php. ini.
Restart the web server. check that phpinfo should support mcrypt.

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.