|
chart director install in php 5 |
Posted by anandh on Jun-28-2013 18:41 |
|
hi,
i use the php 5.3.0 and above version, can not install chart director on the lamp
any body can help to me
thanks
anandh |
Re: chart director install in php 5 |
Posted by Peter Kwan on Jun-29-2013 04:49 |
|
Hi anandh,
Have you followed the installation instructions in the ChartDirector documentation? In brief you need to:
(a) Copy "everything" in "ChartDirector/lib" (including the fonts subdirectory) to the PHP extension directory. In particular, you should copy all the "phpchartdir???.dll" and the "libchartdir.so" and the fonts subdirectory to the PHP extension directory. If you are not sure where is your PHP extension directory, please use phpinfo to find out. In
(b) Add the proper extension statement in your PHP configuration file "php.ini". If you are not sure where is your "php.ini", please use phpinfo to find out. The extension statement must match your PHP type (which can be found in phpinfo). For example, if you are using non-thread-safe PHP 5.3.x, please use:
extension=phpchartdir530.dll
(c) Restart Apache
Note that ChartDirector currently supports up to from PHP 4.0.5 up to PHP 5.4.x. It does not support PHP 5.5.0 yet.
Also, please ensure you are using the PHP that matches your operating system. For example, if your PHP is for Linux (i386/i686), please use the ChartDirector for PHP for Linux (i386/i686). If you PHP is for Linux (x86_64), please use the ChartDirector for PHP for Linux (x86_64).
If the above still does not solve the problem, would you mind to inform me of the followings:
- Please go to the Apache error log file, and inform me if there is any error when the Apache is restarted.
- Please inform me of your "phpinfo".
- Please inform me which directory you have copied the files in ChartDirector/lib to. Please go to that directory using the shell, and enter "ls -l" and kindly let me know of the result.
- Please inform me the exact line you have put into "php.ini".
Regards
Peter Kwan |
|