I am trying to run 'sample code 232 How to draw a simple bar graph?' from this site.
I have cut and pasted the code as is, and run it.
I am getting the following error:
Fatal error: Call to undefined function imagecreate() in graph.php on line 25
I am using php-gtk2 installed form the downloads at:
http://gtk.php.net/download.php
php-gtk-2.0.1-win32-nts.zip
php-gtk-2.0.1-win32-extensions.zip
I have set in my ini file:
extension=php_gd2.dll
but my installation does not contain this file.
Can I get a windows php-gtk2 installation which contains php_gd2.dll, or a suitable version of the file to add to my installation ?
Is this my problem ?
Neil.