下载php源代码进行编译 
cd php/ext/mcryptphpizeerror:     no package libmcrypt available.    no package libmcrypt-devel available.    no package mcrypt available.    no package mhash available.yum  install epel-release  //扩展包更新包yum  update //更新yum源yum install libmcrypt libmcrypt-devel mcrypt mhash  就ok了./configureerror    /downloads/php-5.5.31/ext/mcrypt/mcrypt.c:283: 错误:‘php_fe_end’未声明(不在函数内)
解决方案
sed -i 's|php_fe_end|{null,null,null}|' ./*.csed -i 's|zend_mod_end|{null,null,null}|' ./*.c
下一步:
./configuremakemake test // 可以省略sudo make install
下一步: 
 make install 后, 我们就在 /usr/lib64/php/modules/ 里面看到 mcrypt.so 
 cd /etc/php.d/ sudo vi mcrypt.ini   extension=mcrypt.so
重启apache 看效果啦
').addclass('pre-numbering').hide();                    $(this).addclass('has-numbering').parent().append($numbering);                    for (i = 1; i ').text(i));                    };                    $numbering.fadein(1700);                });            });                                                                            以上就介绍了centos65编译mcrypt,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
   
 
   