PHP IMAP установка

sudo apt-get install php5-imap
sudo php5enmod imap
  
 sudo apt-get install php7.0-imap
  
  sudo yum install php-imap
  
  brew reinstall php56 --with-imap
  
  
SECRET MYSTERY