» Do it. Now.

How to build the PHP rrdtool extension by hand

Install prerequisites
aptitude install build-essential php5-dev librrd2-dev 
Download and compile
wget http://oss.oetiker.ch/rrdtool/pub/contrib/php_rrdtool.tar.gz 
tar -xzf php_rrdtool.tar.gz  
cd rrdtool 
./configure 
make 
Install
cp modules/rrdtool.so /usr/lib/php5/20060613+lfs/ 
echo "extension=rrdtool.so" > /etc/php5/apache2/conf.d/rrdtool.ini 
/etc/init.d/apache2 reload 
References
setup/php5-rrdtool.txt · Last modified: 2010/03/04 18:04 by amo