title: installing imap on ubuntu for php7.1
body: <p>How can one install imap for php in ubuntu for php7.1 preferably in the terminal.</p>
  
  <p>There's some info on this on the php.net manual but it's a bit dated.</p>
  
  <p>It talks about the c-client library and restarting apache afterwards etc</p>
  
  <p>I'm still pretty new with linux </p>