First of all... you must make sure you have either the php4-gd or the php5-gd package installed.<br>
On Ubuntu (a Debian derivative) this package is not installed by
default when you install php with apt-get or synaptic, or equivalent.
If you don't install it, the color picker in Drupal 5 garland theme
configuration will not work, for example, and you will have a status
report on the administration page reporting this problem (no gd
library... because there isn't one!).<br><br>Once you make sure you have the appropriate gd php package installed, check out the php.ini file.<br><br>I am using Ubuntu 6.06 LTS, with PHP5 and apache2, on my development box, and towards the end of my /etc/php.ini file, it reads:
<br><br>extension=gd.so<br><br>towards the top, there is an ;extension=gd.so by way of example, this line should be ignored. Do a good search on gd, and you will find it.<br><br>Then to restart apache:<br><br># apache2ctl restart
<br><br>Hope this helps,<br><br>Victor Kane<br><a href="http://awebfactory.com.ar">http://awebfactory.com.ar</a><br><br><div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">Miles Fidelman</b> <<a href="mailto:mfidelman@meetinghouse.net">
mfidelman@meetinghouse.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ravi sankar wrote:<br>> As Miles mentioned i removed the " ; " from ;extension=
gd.so in my<br>> php.ini. But still i am having the problem with gd library in php. I<br>> am using Debian2.6 sarge.what might be the reason for this.<br>Well that's what I'm using as well. Though, I installed Drupal from the
<br>tar file, not the .deb package.<br><br>Just a silly thought: did you restart Apache after removing the ";" ?<br><br>Miles<br>--<br>[ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/
</a> ]<br></blockquote></div><br>