Page 1 of 1

Modifying GD library settings in php.ini

Posted: Sat Mar 25, 2006 9:49 am
by jonwondering
Hi, I need to set 'gd.jpeg_ignore_warning' to 1 in GD, but I am having trouble doing that.

In my php.ini file, there is no section for GD, like there is for MySQL and others,
even thought I know GD works fine for sure.

I tried appending this to the end of the php.ini file:

[GD]
gd.jpeg_ignore_warning = 1

but that does not fix the problem.
Does anybody know how I can set 'gd.jpeg_ignore_warning' to 1?

(Using ini_set() function in .php pages does not seem to work either)

Thanks.

Posted: Sat Mar 25, 2006 9:55 am
by feyd
There are no directives for GD in php.ini. :?

Posted: Sat Mar 25, 2006 9:57 am
by jonwondering
Well that explains it..... Haha, so is there any way to set that value to 1?

Posted: Sat Mar 25, 2006 10:07 am
by feyd

Posted: Sat Mar 25, 2006 10:12 am
by jonwondering
I've read those already, and it looks like it works fine for php 5.1.*, but my host has 5.0.4 installed.
Is there a solution for that version?

Thanks.

Posted: Sat Mar 25, 2006 10:14 am
by feyd
Not that I've seen.

Posted: Sat Mar 25, 2006 10:22 am
by jonwondering
Ok. I'll try to figure something out. Thanks for your help.