In the rare instance when PHPReports fail in your installation when most other parts work, it will probably be due to an inability to change php.ini settings during script execution (on the fly). This thread is one such example.
Worst case scenario is to make a replace in ./include/reportlib.php line 10
And make similar hard code replaces (prefixing the './library/phpreports/') in all files under ./library/phpreports which contain an “include” or “require” file.
If using windows, you may/must use “\” instead of ”/” - otherwise cocatenate with the PHP Constant - DIRECTORY_SEPARATOR.