I use a PHP based web interface which has to generate some plots using data stored in a database. In this application, i generate most of the plots with Gnuplot and this works fine. For a bit more complicated plots, i tried to use Root by doing a system call from the PHP, like:
$UNXCmd = ‘/cern/root/v4.00.02/bin/root -q -n -l -b Plot300kHzRate.cxx\(\"’ . $data . ‘\"\);’;
the problem is that this is a bit slow. So my question is whether there is some way to call Root within PHP and not using my “naive approach”?
Many thanks for your help, nabil.