[MacPorts] #53632: Pear compatibilty issues with php7

MacPorts noreply at macports.org
Thu Feb 23 08:06:01 UTC 2017


#53632: Pear compatibilty issues with php7
---------------------+-----------------
 Reporter:  hbsimon  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:
---------------------+-----------------
 Hi,

 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?

 Regards,
 Horst Simon

--
Ticket URL: <https://trac.macports.org/ticket/53632>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list