[rrd-users] I am trying to work with rrd_* functions in PHP but the my PHP5.1.2 is giving Segementation Fault

Thati Ravi thati.ravi at gmail.com
Tue Jun 20 09:23:50 MEST 2006

Hai evrybody,
(System Details:
 OS : FedoraCore2
PHP: 5.1.2
php4rrdtool module  is configured.
rrdtool is 1.0.49)

I am trying to call the rrd_create() in my php script like this:(very

But when it  ran from command line its resulting in Segmentaion Fault at
rrd_create() function call statement.

 And I have tried another way by replacing the $opts argument with the whole
array(..) statement like this:


In this case rrd_error() is returning this :
        can't parse argument '/home/ravit/test.rrd'
(  here no segmentation fault)

i hve gone through the USAGE file which has come  with php4rrdtool tarfile.
According to that syntax rrd_create() accepts 3 args ( string,array,int) but
here its ( I think) the first args not getting parsed as string.

If any body  already using RRDTool in PHP scripts please send me some
example scripts which uses rrd_*() functions OR send me some links for the

With BestRegards
Our Attempts may fail but we should not fail to attempt.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list