Trying to get started with Teechart for PHP, downloaded today, I immediately run into problems.
None of the exmples works and the short PHP-code below crashes. Commenting out the rendering line lets the program survive, but no graph.
That I have the proper file-permissions is demonstrated by the line that is commented works when uncommented.
What do I do wrong?
Thanks in advance for any tip.
Håkan

My problem seems to be with the ubuntu distribution of GD, several functions utilised by Teechart are missing.
After downloading and installing PHP 5.3.8 with the following:
./configure --with-mysql --with-gd --with-jpeg-dir --enable-gd-native-ttf --with-png-dir --with-freetype-dir
I can get the script working with the php command line client but Apache2 gives me the following message:
Fatal error: Call to undefined function imagecreatetruecolor() in /var/www/teechart/sources/GraphicsGD.php on line 1012
(after restart and including
ini_set('display_errors', 'On');
error_reporting(E_ALL);
in the script).
So now I think it has to do with my Apache settings. Any tip? My phpinfo is attached.
Håkan
Ps When your program doesn't work out of the box with at least one of the major distributions I guess it would be wise to be a bit more detailled in your installation instructions.