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:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi