PHP5.3.3添加安装mcrypt模块
yum -y install httpd php53 php53-bcmath php53-cli php53-common php53-dba php53-devel php53-gd php53-imap php53-intl php53-ldap php53-mbstring php53-MySQL php53-odbc64 php53-pdo php53-pgsql php53-process php53-pspell php53-snmp php53-soap php53-xml php53-xmlrpc php-pear wget http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmcrypt%2Ffiles%2FLibmcrypt%2F2.5.8%2F&ts=1430725959&use_mirror=ncu wget http://downloads.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmcrypt%2Ffiles%2FMCrypt%2F2.6.8%2F&ts=1430726021&use_mirror=ncu wget http://downloads.sourceforge.net/project/mhash/mhash/0.9.9.9/mhash-0.9.9.9.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmhash%2Ffiles%2Fmhash%2F0.9.9.9%2F&ts=1430726218&use_mirror=ncu wget http://museum.php.net/php5/php-5.3.3.tar.gz yum -y install gcc gcc-c++ make tar zxf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8 ./configure make make install cd .. tar zxf mhash-0.9.9.9.tar.gz cd mhash-0.9.9.9 ./configure make make install cd .. tar zxf mcrypt-2.6.8.tar.gz cd mcrypt-2.6.8 LD_LIBRARY_PATH=/usr/local/lib ./configure make make install cd .. tar zxf php-5.3.3.tar.gz cd php-5.3.3/ext/mcrypt/ /usr/bin/phpize ./configure --with-php-config=/usr/bin/php-config make make install echo 'extension=mcrypt.so' > /etc/php.d/mcrypt.ini /etc/init.d/httpd reload php -m |grep 'mcrypt'
当前标题:PHP5.3.3添加安装mcrypt模块
标题来源:http://scyanting.com/article/jegpso.html