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

Message ListMessage List     Post MessagePost Message

  PHP 5.3.8 OK with Chart Director?
Posted by Kirk on Oct-19-2011 12:20
I'm getting a segfault error in PHP 5.3.8 that appears to be caused by phpchartdir530.dll
and am wondering if there is a compatibility issue with this version of PHP or I should be
looking in a different direction for the cause...

I'm running on FreeBSD 7.1-RELEASE

Thanks!

  Re: PHP 5.3.8 OK with Chart Director?
Posted by Peter Kwan on Oct-20-2011 00:25
Hi Kirk,

We are not aware of any compatibility issue for "ChartDirector for PHP" with PHP 5.3.8 on FreeBSD 7.1-RELEASE. However, having said that, we believe we have not tested this combination (there are too many combinations of PHP versions and FreeBSD versions that it is not practical to test all of them). It is also true that we have not received any incompatible reports of ChartDirector for PHP with any combination of FreeBSD versions and PHP versions for many years.

Note that for PHP 5.3.x, all PHP extensions (including ChartDirector) must be installed by using extension statements in "php.ini". (PHP 5.3.x no longer support dynamic loading of any extension.) Also, the file "libchartdir.so" must reside in the same directory as "phpchartdir530.dll".

For testing, you may consider to try some of the sample script that comes with ChartDirector, including "ChartDirector/phpdemo/cdinfo.php" and "ChartDirector/phpdemo/simplebar.php".

If it still appears that "phpchartdir530.dll" is cauing segmentation fault, please inform me where do you obtain the PHP 5.3.8 executable. Is it downloaded from FreeBSD port, or is it from the PHP web site? Are you compiling it by yourself, or is it pre-compiled? I will try to reproduce the problem.

If you machine is accessible from the Internet, and you can provide a guest account for me to upload files to your web server, I can also try to diagnose the problem directory on your machine. (My email address is pkwan@advsofteng.net)

Regards
Peter Kwan

  Re: PHP 5.3.8 OK with Chart Director?
Posted by Kirk on Oct-21-2011 08:31
Thank you very much for your reply. We did lots of fiddling around with the server and it is
running without errors now. Wish I could tell you exactly what was done but my hosting
company did most of the tinkering. So, looks like the best I can do is say that it can work
just find with 5.3.8 in our environment as long as we don't mess something up!

Thanks!