# 1) Create a Symbolic link to mcrypt.ini in PHP mods folder sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini # 2) Activate extension sudo php5enmod mcrypt # 3) Restart Apache sudo service apache2 restart