Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The processes of installing PEAR and PECL packages should be almost identical—and for the most part, they are. There are some extensions (such as the XHProf extension we used in Section 6.5) that require you to compile them by hand.
To install a package for PEAR, you just need to run:
$ pear install <package>
$ pear install <package>-beta
$ pear install <package>-0.3.1