centos安装mcrypt加密模块以供php调用

yum install libmcrypt
yum install libmcrypt-devel
yum install mcrypt
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
cd /usr/local/php
vim etc/php.ini
php -m
bin/php -m
kill -URS2 `cat /usr/local/php/var/run/php-fpm.pid`


你可能感兴趣的:(centos安装mcrypt加密模块以供php调用)