ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Moved to new server
Posted by Mike Gibbons on Mar-09-2013 05:40
Hi Peter, I've moved to a new server (CENTOS5) running php 5.3.3.

I am getting the error: Trying to load "phpchartdir520.dll" from the PHP extension
directory "/usr/lib64/php/modules".

I have copied all the /lib/ files into this directory and set extension=phpchartdir520.dll into
php.ini and restarted Apache with the same problem.

I see that for php the extension should be phpchartdir530.dll and I have tried that as the
extension= also but same error.

regards,

Mike Gibbons

  Re: Moved to new server
Posted by Peter Kwan on Mar-11-2013 16:57
Hi Mike,

Please check the followings:

(1) Please verify that the ChartDirector edition you are using is for Linux (x86_64) (not the one for Linux (i386/i686)), and that it contains the file "phpchartdir530.dll".

(2) Please verify that you have copied "everything" (not just the dll, but all files, including the libchartdir.so and the fonts subdirectory) from "ChartDirector/lib" to "/usr/lib64/php/modules".

(3) Please verify that you are using the "phpchartdir.php" included in the "ChartDirector/lib". Some people may copy the "phpchartdir.php" to their own script directory. In this case, your script directory may contain an old copy of "phpchartdir.php" from a previous version of ChartDirector. Please make sure you have updated any "phpchartdir.php" that you may be using.

(4) Please confirm where is your "php.ini", and whether you are using thread-safe or non-thread-safe PHP. Then modify your "php.ini" to add the appropriate extension statement and restart Apache. For example, if you are using non-thread-safe PHP (which is the most common on Linux), the following line should be added to your "php.ini". Please make sure the line is added to the "php.ini" you are actually using (use phpinfo to confirm), just in case you have multiple "php.ini" in your system.

#for non-thread-safe PHP 5.3
extension=phpchartdir530.dll

(5) If the above still cannot solve the problem, please check your Apache error log. It should contain the actual error message. The error should have occurred during Apache/PHP starts up, at which time no browser would be connected, so the error message can only be found in the log file.

Please kindly let me know what is the result.

Regards
Peter Kwan