pear-PEAR compatibility issue with PHP7

Ryan Schmidt ryandesign at
Thu Feb 23 06:30:25 UTC 2017

On Feb 22, 2017, at 22:24, Horst Simon wrote:

> I tried to use the macports pear with macports php70 and when running pear -V it throws following error:
> PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in /opt/local/lib/php/pear/PEAR/Frontend.php on line 91
> After searching the net I found that this should be solved in pear release 1.10. The current macport release is 1.9.4
> which is supposed to be incompatible which php7. Will there an update be available for pear?

The first step to requesting an update to a port is to file a ticket in our issue tracker. The port currently has no maintainer so nobody is looking after these updates.

More information about the macports-users mailing list