
Nicolas Connault - 2005-01-10 14:58:29 -
In reply to message 1 from Tommy m M
Quoting from the PHP mamual: (See "Image Functions")
If you have the GD library (available at » http://www.boutell.com/gd/) you will also be able to create and manipulate images.
Normally, the GD library comes bundled with PHP. However, it might not be enabled in your php.ini file. Find that file (usually in the apache folder), and find the lines that start with "extension=". There should be quite a few of these, some of which will be commented (they start with a semi-colon ';').
There should be a line that looks like this:
;extension=php_gd2.dll
Simply remove the semi-colon from the beginning of that line, save the php.ini file, stop your apache server and restart it. Then try your script again. The error you mentioned should only appear if the GD library failed to load.
Cheers!
Nicolas Connault
nicou@sweetpeadesigns.com.au