php5.4以上运行yii框架出现问题的解决方法
Ubuntu Server 下安装 Mcrypt Php Extension
http://blog.archean.me/2013/10/22/install-mcrypt-php-extension-on-ubuntu-server/
PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/mcrypt.so’ – libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
http://www.miguelvallejo.com/php-startup-unable-to-load-dynamic-library-usrlibphp520090626mcrypt-so-libmcrypt-so-4-cannot-open-shared-object-file-no-such-file-or-directory-in-unknown-on-line-0/
所以上面两个问题用两个网站结合起来的方法
sudo apt-get install php5-mcrypt php5-dev 开启 Mcrypt 模块 sudo php5enmod mcrypt sudo apt-get purge php5-mcrypt #这个需要加,否则接下来还会出问题