pear-PEAR compatibility issue with PHP7

Horst Simon horst.simon at
Thu Feb 23 04:24:15 UTC 2017


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?

Horst Simon

More information about the macports-users mailing list