|
Loading CD on Linux PHP 5.3.3 |
Posted by Bernie Ruddock on Aug-18-2012 03:18 |
|
I get the error message:
Trying to load "phpchartdir520.dll" from the PHP extension directory
"/usr/lib64/php/modules".
I guess things have changed. I have been running great for 2-3 years. I was forced off my
old server onto a new one. Do I need to download a new CD?
Running:
Linux xxxxxxxxxt 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64
x86_64 x86_64 GNU/Linux
PHP 5.3.3
THANKS! |
Re: Loading CD on Linux PHP 5.3.3 |
Posted by Peter Kwan on Aug-19-2012 23:54 |
|
Hi Bernie,
You would need to use a "ChartDirector for PHP" version that is released after PHP 5.3. (PHP 5.3 is not binary compatible with any previous PHP versions. So when upgrading to PHP 5.3, you would need to replace all PHP extensions with new versions specifically compiled for PHP 5.3.) It should include the file "phpchartdir530.dll". The latest version of ChartDirector (Ver 5.1) should work.
Also, as your PHP is likely to be compiled for the Linux (x86_64) architecture, please use ChartDirector for PHP for Linux (x86_64).
Finally, note that PHP 5.3 no longer support dynamic loading of PHP extensions. All PHP extensions must be loaded using "php.ini", and all PHP extensions. So for your case, you would need to modify the "php.ini" to include the following line:
extension=phpchartdir530.dll
Also, PHP 5.3 requires all PHP extensions to be located in the PHP extension directory. (You may use phpinfo to determine where is your "php.ini" and your PHP extension directory.) So you would need to copy *everything* (including the fonts subdirectory) from "ChartDirector/lib" to the PHP extension directory. (From the error message in your post, it seems your PHP extension directory is at /usr/lib64/php/modules. Please use phpinfo to confirm.)
If your PHP is not using CGI to interface with the web server, you would need to restart the web server for any changes to "php.ini" to take effect.
The details are explained in the Installation section of the PHP documentation included in the latest version of ChartDirector.
Hope this can help.
Regards
Peter Kwan |
Re: Loading CD on Linux PHP 5.3.3 |
Posted by Bernie Ruddock on Aug-21-2012 02:40 |
|
Peter,
THANKS! That took care of it.
Works great.
Do I need a new license for this release?
Where does the .lic file go?
Bernie |
Re: Loading CD on Linux PHP 5.3.3 |
Posted by Peter Kwan on Aug-22-2012 02:26 |
|
Hi Bernie,
If your existing license allows you to use or upgrade to ChartDirector Ver 5, then you do not need a new license. If your existing license can only be used up to ChartDirector Ver 4, then an upgrade license is needed. For more details about upgrading, please refer to:
http://www.advsofteng.com/purchase_upg.html
Regards
Peter Kwan |
|