I've copied gChartPhp into /var/www/html on my CentOS 5 Linux machine and it works ok, but I wonder if there is maybe a better way to install and maintain that code.
I'm asking this because gChartPhp contains a PEAR subdirectory. And there is already the dir called /usr/share/pear/PEAR at my machine. Maybe it is possible to install it using the php-pecl rpm package?
I've tried "pecl search chart" but it can find only the other "package":
pecl search chart Retrieving data...0%....50%....Matched packages, channel pecl.php.net: ======================================= Package Stable/(Latest) Local GDChart -n/a-/(0.2.0 beta) GDChart Based Graphing Interface
Or should I maybe copy gChartPhp manually and add it to the include_path in /etc/php.ini ?
Thank you for any insights! Alex