如果你在网上找了好多资料还是依旧无法安装mcrypt推荐你来试试本方法!
sudo aptitude install libmcrypt-dev 或者sudo apt-get install php5-mcrypt模块安装完毕后,将mcrypt模块加载sudo php5enmod mcrypt检查:/etc/php5/apache2/conf.d/ /etc/php5/mods-available/有mcrypt.ini文件随后重启apache2sudo service apache2 restart
転載元: http://zhidao.baidu.com/link?url=aup_9ce9laBPPZay9Cc_XAlvM1n8N3R816B9yOt_fW2mUPRQlX_0kkfg5aTmiOOL3BHJtKga50FOZY8Agr V1 wbylweXkYMgyAvvuHGR7xiy