Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
So installing PEAR packages is easy, but what about extensions? Mostly, just as easy:
$ pear install xdebug No releases available for package "pear.php.net/xdebug" - package pecl/xdebug can be installed with "pecl install xdebug" install failed
$ pecl install xhprof downloading xhprof-0.9.2.tgz ... Starting to download xhprof-0.9.2.tgz (931,660 bytes) ........................................................... ........................................................... ...done: 931,660 bytes 11 source files, building running: phpize Configuring for: ⋮
Build process completed successfully Installing '/usr/lib/php/extensions/no-debug-non-zts-20090626/➥ xhprof.so' install ok: channel://pecl.php.net/xhprof-0.9.2 configuration option "php_ini" is not set to php.ini location You should add "extension=xhprof.so" to php.ini
Should you see the last two lines, and you want the pecl command to automatically update your php.ini file with the required extension= line, you can tell it the location of your php.ini file by running:
$ pecl config-set php_ini /path/to/php.ini config-set succeeded