How can one install imap for php in ubuntu for php7.1 preferably in the terminal.
There's some info on this on the php.net manual but it's a bit dated.
It talks about the c-client library and restarting apache afterwards etc
I'm still pretty new with linux
To check if IMAP extension is installed, please run this command: This is most probably due to a missing IMAP extension. To check if IMAP extension is installed, please run this command: php -m | grep imap.
IMAP stands for Internet Mail Access Protocol, PHP-IMAP functions helps you to access an email account and fetch emails from them. Using these functions you can also work with NNTP, POP3 protocols and local mailbox access methods. With the help of this library you can create web applications that handle your emails.
As long as it is part of the php repo you are using, this will be the package you are looking for.
sudo apt install php7.1-imap
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With