Posts tagged “pear”

Installing PEAR on Mac OS X 10.5 Leopard

PEAR was removed by Apple from 10.5 for one reason or another. Here’s how to get it back: Pre-requisties Make sure you have a php.ini file in /etc/. This isn’t available by default. To create one enter the following: sudo cp /etc/php.ini.default /etc/php.ini PEAR Install cd curl -O http://pear.php.net/go-pear sudo php go-pear This starts the [...]

The Problem with PEAR

I have a love-hate relationship with PHP’s class repository (and answer to Perl’s CPAN), PEAR. Sometimes you can find very useful, well documented and cleanly implemented packages. And obviously re-using such components is a big-win. Sadly, the quality of PEAR varies wildly and frequently I stumble upon useful looking packages that have little or, worse, [...]