Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!
Moderator: General Moderators
-
jonwondering
- Forum Commoner
- Posts: 39
- Joined: Mon Mar 13, 2006 6:26 pm
Post
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.
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
There are no directives for GD in php.ini.

-
jonwondering
- Forum Commoner
- Posts: 39
- Joined: Mon Mar 13, 2006 6:26 pm
Post
by jonwondering »
Well that explains it..... Haha, so is there any way to set that value to 1?
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
-
jonwondering
- Forum Commoner
- Posts: 39
- Joined: Mon Mar 13, 2006 6:26 pm
Post
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.
-
feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Post
by feyd »
Not that I've seen.
-
jonwondering
- Forum Commoner
- Posts: 39
- Joined: Mon Mar 13, 2006 6:26 pm
Post
by jonwondering »
Ok. I'll try to figure something out. Thanks for your help.