Enable php modules on Ubuntu 12.04
Sometimes you may need to enable php modules and to perform that just execute sudo apt-get install php5-fpm and of course install module you want to use, like: sudo apt-get install php5-imap Don’t forget to restart your apache/nginx