Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing imap on ubuntu for php7.1

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

like image 842
grendeld Avatar asked Jul 19 '17 16:07

grendeld


People also ask

How do I know if PHP-IMAP is installed?

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.

What is PHP-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.


1 Answers

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
like image 89
Symeon Quimby Avatar answered Sep 28 '22 11:09

Symeon Quimby