1 Replies - 6292 Views - Last Post: 03 November 2009 - 06:43 AM Rate Topic: -----

#1 Moezzie  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 58
  • Joined: 25-November 07

Enable jpeg support in PHP GD

Posted 03 November 2009 - 05:52 AM

Hey there coders!

I've run into a really confusing problem on a site im working on with the Zend Framework.
The Zend Framework uses PHP GD to manipulate images, this works fine with PNG images, but when it comes to JPEG files it says JPEG support is not configured correctly

Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message 'JPG support is not configured properly.


So i checked with gd_info and php_info() and they both say GD is installed but there is no JPEG support:

 [GD Version] => bundled (2.0.34 compatible)
	[FreeType Support] => 
	[T1Lib Support] => 
	[GIF Read Support] => 1
	[GIF Create Support] => 1
	[JPG Support] => 
	[PNG Support] => 1
	[WBMP Support] => 1
	[XPM Support] => 
	[XBM Support] => 1
	[JIS-mapped Japanese Font Support] =>


So where do i enable JPEG support. There is a gd.ini file, but that just specifies the location of the extensions .so file and i couldnd find anything useful in php.ini eather

Thanks in advance

Is This A Good Question/Topic? 0
  • +

Replies To: Enable jpeg support in PHP GD

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 994
  • View blog
  • Posts: 3,547
  • Joined: 05-June 09

Re: Enable jpeg support in PHP GD

Posted 03 November 2009 - 06:43 AM

GD 2.0.34??

What version of PHP are you running?? You should consider upgrading (or at least reinstalling).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1