Imap how can enable imap in php ini

July 6, 2021 . 1 MIN READ

On Ubuntu and debian a better way is to enable it this way:

sudo apt install php-imap
sudo phpenmod imap
sudo service apache2 restart

On CentOS7+

sudo yum install php-imap

On Ubuntu (<= 14.04) and debian (<= Weezy)

sudo apt-get install php5-imap
sudo php5enmod imap
sudo service apache2 restart

 

http://stackoverflow.com/questions/23242402/how-can-enable-imap-in-php-ini

Leave a Reply

Your email address will not be published. Required fields are marked *