Ubuntu PHP CI - The Encrypt library requires the Mcrypt extension.

摘要:Ubuntu PHP CI - The Encrypt library requires the Mcrypt extension.

好不容易裝好Ubuntu + Apache + MySQL + PHP 

快快樂樂的將程式碼往上丟,

卻又發生在 windows遇不到的問題

The Encrypt library requires the Mcrypt extension.

 

找了找,要追加裝

sudo apt-get install php-mycrypt
sudo php5enmod mcrypt
 
再重新restart apache2
sudo /etc/init.d/apache2 restart