首页 > 代码库 > linux下安装php的mcrypt拓展

linux下安装php的mcrypt拓展

安装步骤:

1,#wget  http://museum.php.net/php5/php-5.3.3.tar.gz

2,解压:#tar -zxvf  php-5.3.3.tar.gz

3,#cd   php-5.3.3/ext/mcrypt

4,#phpize

5,#./configure  -with-php-config=/usr/sbin/php/bin/php-config

6,#make && make install

7,修改php.ini增加extension=mcrypt.so

8,重启httpd:#service httpd restart

linux下安装php的mcrypt拓展