PDA

View Full Version : PHP - PEAR



jeo100
07-22-08, 10:10 AM
I compiled an image with PHP and it works great, but I tried running some PHP pages that said that I need "PEAR"

Can someone tell me how to compile PHP with PEAR?

jsarrel
07-22-08, 10:41 AM
According to the documentation at pear.php.net, PEAR is automatically included unless you specifically use the --without-pear flag when compiling.
Try typing "pear" at the commandline (without quotes). If it gives you a list of pear commands than you are good. If not, here's a place to start: http://pear.php.net/manual/en/installation.php .
I'm willing to bet you don't have a particular package installed. In that case "pear install package-name" should work, YMMV though.

jeo100
07-22-08, 12:22 PM
I just enabled PHP in the PADS config menu