本文共 419 字,大约阅读时间需要 1 分钟。
tar zxvf mcrypt-2.6.8.tar.gzLD_LIBRARY_PATH=/usr/local/lib64 ./configuremakemake installcd /home/data/install/lnmp/php-5.3.16/ext/mcrypt//home/data/websrv/php/bin/phpize./configure --with-php-config=/home/data/websrv/php/bin/php-configmakemake installecho "extension=mcrypt.so" >>/home/data/websrv/php/etc/php.inicd /etc/php.d/echo 'extension=mcrypt.so' > mcrypt.iniservice nginx restartservice php-fpm restart
给php加拓展包
转载地址:http://wvmwl.baihongyu.com/