trying to migrate to php 7.3

Ryan Schmidt ryandesign at macports.org
Wed Mar 6 06:02:26 UTC 2019



On Mar 5, 2019, at 06:42, macports at parvis.nl wrote:

> I want to get rid of old PHP and I am migrating to PHP 7.3.
> 
> I have this program that runs both on a web page and from command line, using PEAR Console_CommandLine.
> 
> The current version of pear-Console_CommandLine in macports is 1.2.0 (2012), and it loops on PHP 7.x. The current version on pear.php.net is 1.2.2 (2016), tested on PHP 70.1+7.2, so I probably have to use PHP 7.2, and then I tried to do a local install of 1.2.2.
> 
> pear itself depends on pear/Archive_Tar, pear/Structures_Graph, pear/Console_Getopt, pear/XML_Util, all with old versions. 
> These modules are in /opt/local, but try to mkdir in /usr/lib/php/pear and that is not allowed by OSX.
> 
> pear-PEAR is 1.9.4 on macports (2011), 1.10.7 on pear.php.net (2018).
> 
> It seems macports is not quite up-to-date ;-)
> 
> Could anyone help me to get pear and Console_CommandLine to work on PHP 7.3, 70.2, or 7.1 ?
> 
> Should a post a ticket for this?
> 
> Should I do local installs for everything pear-related? port group pear?

As you've discovered, PEAR in MacPorts is outdated. Either somebody who is interested should volunteer to update and maintain it, or we should remove it from MacPorts.

https://trac.macports.org/ticket/56424



More information about the macports-users mailing list