|
PHP v5.1 |
Posted by Willy on Jun-27-2012 03:49 |
|
Hello,
after downloading the version v5.1 (Linux (i386/i686) the module still reports as v5.0 in e.g. phpinfo(). I have ensured to update the files properly (the phpchartdir and js files already reporting as v5.1).
Can anyone confirm this issue, or did I anything wrong? - Thank you.
Regards
Willy |
Re: PHP v5.1 |
Posted by Peter Kwan on Jun-28-2012 00:22 |
|
Hi Willy,
To determine the actual version of ChartDirector, the cdinfo.php script should be used. (The cdinfo.php is included in the "ChartDirector/phpdemo/cdinfo.php" in the ChartDirector distribution. Note that the cdinfo.php assumes the phpchartdir.php to be at the "../lib/phpchartdir.php". You may need to modify the "require_once" line in the cdinfo.php if you put the phpchartdir.php somewhere else.)
The ChartDirector for PHP extension (phpchartdir???.dll) is actually an interface to the real ChartDirector, implemented in C++ as the shared object libchartdir.so. The phpinfo displays the version of the PHP extension (the version of phpchartdir???.dll), but not that of the real ChartDirector implementation libchartdir.so. As we have not changed the PHP to C++ interface in Ver 5.1, so it still displays the old version number.
Regards
Peter Kwan |
|