===== 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 == * [[http://www.ioncannon.net/system-administration/25/how-to-build-the-php-rrdtool-extension-by-hand/|How to build the PHP rrdtool extension by hand]] [original] * [[http://www.missiondata.com/blog/linux/54/how-to-build-the-php-rrdtool-extention-by-hand/|How to build the PHP rrdtool extension by hand]] [clone] * [[http://www.php-resource.de/forum/showthread/t-93340.html|rrdtool Support für PHP unter Debian Etch]] {{tag>php rrdtool}}