PEAR php installation

Issues related to software problems.
Post Reply
gsandorx
Posts: 18
Joined: 2009/09/25 18:24:33

PEAR php installation

Post by gsandorx » 2009/09/25 18:52:13

Hi folks,

I'm trying to install BASE (a tool for IDS Snort). I need PEAR for it. I executed yum install php-pear and php-pear-log. I also installed php and httpd.
When I run BASE, it tells me that I don't have Pear::Image_Graph so the app is unable to draw the required charts. I tried to install it using pear install ... but I always get errors when connecting to pear.php.net server. I've tried to reach that server using my browser but I got nothing.
My question is: How am I supposed to install PEAR??

Thanks,
Sandor

PS: I'm using CentOS 5.3

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

PEAR php installation

Post by pschaff » 2009/09/27 02:53:56

Try configuring the EPEL repo and then[code]
yum install php-pear-Image-Graph
[/code]

Please read
http://wiki.centos.org/Repositories
and note the warnings and advice about installing and configuring yum-priorities
http://wiki.centos.org/PackageManagement/Yum/Priorities
Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.

gsandorx
Posts: 18
Joined: 2009/09/25 18:24:33

Re: PEAR php installation

Post by gsandorx » 2009/09/28 20:44:57

Thanks a lot, it worked!

Regards,
Sandor

Post Reply