How to install php IMAP for php5-fpm?
I'm trying to install Vtiger CRM on ubuntu. This require IMAP. How to install PHP IMAP for php5-fpm
?
Solution 1:
Carry out the following:
apt-get install php5-imap
However it's not enabled by default so enable it with:
php5enmod imap
Then bounce apache:
service apache2 restart
Done.
Solution 2:
The imap
library is in php5-imap
and that applies to all sorts of PHP (cli, cgi, fpm, etc). To install:
sudo apt-get install php5-imap