[rrd-users] rrdtool contrib php4 - stand alone module
claudiu brasovean
claudiu at rdscj.ro
Wed Nov 21 15:11:15 MET 2001
hello...
I have problems biulding the php4 extension as a standalone module.
Here's what I did:
1. cd /my/rrdtool_source/directory
./configure --enable-shared
make
make install
2. cd /my/rrdtool_source/directory/contrib/php4
./configure --with-rrdtool=/usr/local/rrdtool-1.0.33
--with-php-config=/usr/local/bin/php-config
make
make install
I have php-4.0.4pl1 installed on my computer.
My php file looks like this:
<?
dl("rrdtool.so");
$opt=array("--step", "300");
if($select_RSSI=='1'){
array_push($opt,"DS:RSSI:GAUGE:400:0:135");
$bool=1;
};
...and so on
The answer of apache is:
Warning: Invalid library (maybe not a PHP library) 'rrdtool.so' in
/var/www/status.rdscj.ro/radio_status/do_manag.php on line 2
I could not find an answer to my problem so I joined this mailing list
hoping for a solution :)
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list