A Note on PEAR

PEAR, the PHP Extension and Application Repository, was historically used to distribute reusable components. PEAR has been superseded by Composer and is not widely used any more.

In the aftermath of the pear.php.net security incident in early 2019, the PHP development team decided that the PEAR Installer would no longer be installed by default when you build PHP yourself from its sources.

If you build PHP yourself from its sources and still need the PEAR Installer then you need to pass the --with-pear flag to the configure script. Without the --with-pear flag, no PEAR environment will be created.