I am trying to install PHP imap on Ubuntu Server 16.
Following the steps on: php5-imap on Ubuntu 14.04 is not enabled
$ sudo apt-get install php5-imap
E: Unable to locate package php5-imap
I am trying to install PHP imap on Ubuntu Server 16.
Following the steps on: php5-imap on Ubuntu 14.04 is not enabled
$ sudo apt-get install php5-imap
E: Unable to locate package php5-imap
You receive the error because php5
is outdated.
Execute : sudo apt-get install php7.0-imap
ppa:ondrej/php
– Severus Tux
May 08 '16 at 08:50
sudo apt-get install php5.6-intl
– Adil Abbasi
Aug 15 '16 at 10:18
I had to downgrade from PHP 7 to PHP 5.6, so I was following: How can I downgrade from PHP 7 to PHP 5.6 on Ubuntu 16.04?
and applying general "naming convention" from that article I've tried:
sudo apt-get install -y php5.6-curl
and it worked for me.
PS don't forget to run:
sudo systemctl restart apache2
afterwards.
E: Unable to locate package php5-curl
– Maro May 08 '16 at 08:46