I've installed PHP 5.6 from the PPA http://ppa.launchpad.net/ondrej/php/ubuntu
.
All the packages are called php5.6-whatever.
There is no php5.6-pear in that PPA.
How can I install php5.6-pear?
I've installed PHP 5.6 from the PPA http://ppa.launchpad.net/ondrej/php/ubuntu
.
All the packages are called php5.6-whatever.
There is no php5.6-pear in that PPA.
How can I install php5.6-pear?
I had the same problem. Installing php5.6-dev package and adjusting the default php binaries like described in https://github.com/oerdnj/deb.sury.org/wiki/PECL-Installation did it for me:
Then it will work like expected: