Hi Mike,
Would you mind to verify the followings?
(a) Are you using the ChartDirector edition for your PHP operating system architecture? If your PHP is for Linux (x86_64), please make sure you use the ChartDirector for PHP for Linux (x86_64). If your PHP is for i386/i686, please make sure you use the ChartDirector for PHP for Linux (i386/i686).
(b) Have you copied **everything** from ChartDirector/lib to your PHP extension directory? You can use your phpinfo to determine where is the PHP extension directory. You should copy **everything**, not just "phpchartdir700.dll". At least, there should be phpchartdir700.dll, libchartdir.so and the fonts subdirectory. Make sure these files are readable and executable by everyone.
(c) Have you verified you are using the non-thread-safe edition of PHP 7.0 (as opposed to 7.1 or other PHP version)? The phpchart700.dll is for non-thread-safe PHP 7.0. You can use phpinfo to confirm if this is your PHP type.
Apache would keep an error log showing the exact cause of the error. Would you mind to check the Apache error log to see the exact cause of the error?
For your information, if you are using 64-bit Ubuntu version 16, the PHP extension directory for PHP 7 is at /usr/lib/php/20151012. So there should be files like "/usr/lib/php/20151012/phpchartdir700.dll" and "/usr/lib/php/20151012/libchartdir.so". The Apache error log is at "/var/log/apache2".
If you need further help, please provide the following information:
(a) The Linux brand and version you are using.
(b) The "phpinfo" page.
(c) Go to the PHP extension directory, then the followings and inform me of the result:
pwd
ls -l
Regards
Peter Kwan |