|
Error Loading ChartDirector for PHP Extension |
Posted by Manoj Thapliyal on Jan-29-2014 22:06 |
|
Hi,
I want to use ChartDirector in WINDOW 7 with PHP 5.2. I also read & implement all suitable step to regarding installation of ChartDirector but still its not working for me.
Below is error displaying for me while i run this page...
Error Loading ChartDirector for PHP Extension
Error Log
Trying to load "phpchartdir520.dll" from the PHP extension directory "C:\\php\\ext".
dl(): Not supported in multithreaded Web servers - use extension=phpchartdir520.dll in your php.ini
Trying to load "phpchartdir520.dll" from "C:\\inetpub\\wwwroot\\ChartDirector\\lib".
dl(): Not supported in multithreaded Web servers - use /inetpub\\wwwroot\\ChartDirector\\lib/phpchartdir520.dll in your php.ini
System Information
Operating System : Windows NT JPR-DAL-1 6.1 build 7600
PHP version : 5.2.3
PHP / Web Server interface : isapi
PHP configuration file location : "C:\\PHP\\php.ini"
PHP extension directory : "C:\\php\\ext"
Pls help me to solve this..
Thanks In Advance.. |
Re: Error Loading ChartDirector for PHP Extension |
Posted by Peter Kwan on Jan-30-2014 00:20 |
|
Hi Manoj,
1. I assume you are using 32-bit PHP on Windows. In this case, please make sure you have
download "ChartDirector for PHP" for Windows 32-bit.
2. Copy "all files" from "ChartDirector\\lib" to your PHP extension directory. According to the
error message, your PHP is configured to use the PHP extension directory at "C:\\php\\ext".
After copying, you should see the files "c:\\php\\ext\\phpchartdir520.dll",
"c:\\php\\ext\\chartdir.dll" and other ChartDirector files. Make sure the web server (running as
the anonymous user) can read these files. (For testing, you may configure your file and
directory security so that everyone has read access for all files in that directory.)
3. Add the following line in your PHP configuration file. According to the error message,
your PHP is configured to use the PHP configuration file at "C:\\php\\php.ini". If there is no
such file in your system, please create one (it is just a text file).
extension=phpchartdir520.dll
4. Completely restart IIS. The easiest way is to open a command shell, and enter "iisreset".
Hope this can help.
Regards
Peter Kwan |
Re: Error Loading ChartDirector for PHP Extension |
Posted by Manoj Thapliyal on Jan-30-2014 15:23 |
|
Thanks Peter for your help.
I also add below lines in php.ini file.
extension=phpchartdir520nts.dll(for php 5.2)
Now ChartDirector working fine but at the begining its showing below error.
Boot Log :
2014-01-30 12:46:15> ChartDirector at C:\\PHP\\ext\\chartdir.dll started
2014-01-30 12:46:15> Cannot load license file C:\\PHP\\ext\\chartdir.lic - No such file or directory [error code = 2]
Updated license check at 2014-01-30 12:48:56> Cannot load license file C:\\PHP\\ext\\chartdir.lic - No such file or directory [error code = 2]
Font Loading Test :
Searching for arial.ttf - No such file or directory [err code = 2]
Successfully opened C:\\Windows/fonts/arial.ttf
Is any problem will occure in future due this .If yes, Pls let me know how to solve this & if no, thanks peter for your Kind support. |
Re: Error Loading ChartDirector for PHP Extension |
Posted by Peter Kwan on Jan-31-2014 01:08 |
|
Hi Manoj,
The message you see is not an error. It just means ChartDirector cannot load the license
file. This is normal if you are downloading ChartDirector for testing so you do not have a
license file. If there is no license file, ChartDirector will run in trial mode, and the charts will
contain yellow bars at the bottom to mark them as being created by the trial version of
ChartDirector.
Regards
Peter Kwan |
|