Hi,
I just installed a brand new Drupal 5, on a Debian Sarge box.
The admin script is reporting "The GD library for PHP is missing or outdated" (everything else reports ok).
The thing is, I think I have gd installed properly and as up to date as the current package library provides (apt-get upgrade php4-gd reports that I'm up to date).
So... any thoughts or suggestions? - do I need a later version of gd? - is it perhaps something in the search path (pointers or diagnostic suggestions much appreciated) - what doesn't work if I don't have gd properly installed?
Thanks very much.
Miles
Miles Fidelman wrote:
Hi,
I just installed a brand new Drupal 5, on a Debian Sarge box.
The admin script is reporting "The GD library for PHP is missing or outdated" (everything else reports ok).
The thing is, I think I have gd installed properly and as up to date as the current package library provides (apt-get upgrade php4-gd reports that I'm up to date).
So... any thoughts or suggestions?
check phpinfo() if GD is really enabled.
- do I need a later version of gd?
Probably not
- is it perhaps something in the search path (pointers or diagnostic
suggestions much appreciated)
No, something in php.ini
- what doesn't work if I don't have gd properly installed?
Color.module, resizing images...
Cheers, Gerhard
turns out that my php.ini contained: ;extension=gd.so
took out the ";" and all seems fine
Thanks!
Miles
Gerhard Killesreiter wrote:
Miles Fidelman wrote:
Hi,
I just installed a brand new Drupal 5, on a Debian Sarge box.
The admin script is reporting "The GD library for PHP is missing or outdated" (everything else reports ok).
The thing is, I think I have gd installed properly and as up to date as the current package library provides (apt-get upgrade php4-gd reports that I'm up to date).
So... any thoughts or suggestions?
check phpinfo() if GD is really enabled.
- do I need a later version of gd?
Probably not
- is it perhaps something in the search path (pointers or diagnostic
suggestions much appreciated)
No, something in php.ini
- what doesn't work if I don't have gd properly installed?
Color.module, resizing images...
Cheers, Gerhard
Op vrijdag 19 januari 2007 20:40, schreef Miles Fidelman:
turns out that my php.ini contained: ;extension=gd.so
took out the ";" and all seems fine
Would you mind putting this in the handbook somewhere? As a note for other debian users?
Bèr
Bèr Kessels wrote:
Op vrijdag 19 januari 2007 20:40, schreef Miles Fidelman:
turns out that my php.ini contained: ;extension=gd.so
took out the ";" and all seems fine
Would you mind putting this in the handbook somewhere? As a note for other debian users?
Sure, though what I'll probably do is an after-action report after I get all the nits squared away (currently trying to get clean URLs to work).
Any suggestion as to where in the handbook to put this?
Miles
hello all,
As Miles mentioned i removed the " ; " from ;extension=gd.so in my php.ini. But still i am having the problem with gd library in php. I am using Debian2.6 sarge.what might be the reason for this.
regards, ravi. blog at http://ravimathi.blogspot.com
ravi sankar wrote:
As Miles mentioned i removed the " ; " from ;extension=gd.so in my php.ini. But still i am having the problem with gd library in php. I am using Debian2.6 sarge.what might be the reason for this.
Well that's what I'm using as well. Though, I installed Drupal from the tar file, not the .deb package.
Just a silly thought: did you restart Apache after removing the ";" ?
Miles
First of all... you must make sure you have either the php4-gd or the php5-gd package installed. 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!).
Once you make sure you have the appropriate gd php package installed, check out the php.ini file.
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:
extension=gd.so
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.
Then to restart apache:
# apache2ctl restart
Hope this helps,
Victor Kane http://awebfactory.com.ar
On 1/24/07, Miles Fidelman mfidelman@meetinghouse.net wrote:
ravi sankar wrote:
As Miles mentioned i removed the " ; " from ;extension=gd.so in my php.ini. But still i am having the problem with gd library in php. I am using Debian2.6 sarge.what might be the reason for this.
Well that's what I'm using as well. Though, I installed Drupal from the tar file, not the .deb package.
Just a silly thought: did you restart Apache after removing the ";" ?
Miles
[ Drupal support list | http://lists.drupal.org/ ]