PEAR on macOS 10.15 Catalina03 Oct 2019
macOS no longer ships with PEAR, but installing it is quite easy. Once that’s done PEAR and PECL work as expected (if you also want to set up and install Apache, PHP and MySQL, check this post).
If that fails
autoconf may be missing. To install it just use Homebrew. Once Homebrew is installed, installing
autoconf is as simple as:
autoconf is installed, try running the pear installer above again.
Xcode Command Line Developer Tools
You will run into problems installing pecl extensions, if you don’t have the Xcode Command Line Extensions installed, so we’ll also install them.
/etc/php.ini and add
/etc/php.ini does not exist, create it with the following content).