Hi J,
As according to the ChartDirector installation documentation, please copy *everything* in ChartDirector/lib (including the fonts subdirectory) to your PHP extension directory. For your case, at the minimum, you need to copy the "phpchartdir700.dll", "libchartdir.so" and entire "fonts" subdirectory (which means after copying, there should be a subdirectory "/usr/lib/php/20151012/fonts" and inside it there should be some fonts files.)
Then in "php.ini", please use:
extension=phpchartdir700.dll
The restart Apache.
(Note: There is a common misconception that Linux uses ".so" while Windows uses ".dll". In reality, the ".so" is only used for pre-linked shared objects. For loadable modules, any extension can be used. Even the Linux operating system itself does not use ".so" for many of its loadable modules. We use ".dll" as the extension for Linux as well as Windows so that we can use the same "php.ini" in both Linux and Windows.)
Then restart Apache.
Please let me know if this can solve the problem.
Regards
Peter Kwan |