I have a PHP setup using macports, on MacOS Mojave. I have just upgraded from 5.6 to 7.3; everything is working fine except that I need xdebug, which requires pecl, which requires pear, and I don't have a working copy of pear any more.
I've found several answers which work using homebrew, but that would mean uninstalling large amounts of stuff and reinstalling them with homebrew, which I'd rather not do if I don't have to.
Various other solutions mentioned in other posts don't work any more because http://pear.php.net/ is down indefinitely. I can find their github site but I can't quite see what to do from there, since their INSTALL file has no instructions for mac.
Any ideas?