You are not logged in.

#1 2011-03-29 12:32:22

greengold
Member
Registered: 2010-01-30
Posts: 199

pear seems not working

Hi all!

Im having trouble with php extension pear.

When I'm trying to draw graph in Snort's mysql log analyzer BASE I'm getting :

Error loading the Graphing library:

Check your Pear::Image_Graph installation!

    Image_Graph can be found here:at http://pear.veggerby.dk/. Without this library no graphing operations can be performed.
    Make sure PEAR libraries can be found by php at all:

    pear config-show | grep "PEAR directory"
    PEAR directory      php_dir     /usr/share/pear

    This path must be part of the include path of php (cf. /etc/php.ini):

    php -i | grep "include_path"
    include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php

what can cause this problem?
thanks...

Offline

#2 2011-03-29 15:49:24

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: pear seems not working

The problem may be what it being said by the error message.  Did you check the value of include_path in php.ini?

Offline

#3 2011-03-29 16:54:14

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: pear seems not working

of course...

/etc/php/php.ini should be set correctly:

# php -i | grep "include_path"
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php

or please tell me which config should I post you
thanks!

Offline

Board footer

Powered by FluxBB