nginx php-fpm : Configure php5-mcrypt with php5-fpm (Ubuntu 14.04) #php5-mcrypt should be installed already (it comes bundled with php5-fpm). Just for safety, sudo apt-get install php5-mcrypt #Create symlink to mods-avaliable, sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini #Enable it. sudo php5enmod mcrypt #Restart php-fpm, sudo service php5-fpm restart #Restart nginx..