loquela Posted October 28, 2008 Share Posted October 28, 2008 phpinfo shows png support enabled but not jpg enabled. GD version: 2.0.34 (server affected is the 2nd in the attachment). The build of the PHP 5.2.5 was done with "--with-gd" set in the configure. The build went through all the relevant items in the ext directory, including gd. The gd library does appear to have created the libs/gd_jpeg.o during the PHP build process. But, clearly jpeg support is not enabled as determined by phpinfo AND by using image_resize on a jpeg which failed. When building the php install, do I have to specify other options in the configure to enable this? Do I have to build gd library separately with specific options, then build php? [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/130458-gd-not-supporting-jpeg-on-suselinux-install/ Share on other sites More sharing options...
loquela Posted October 30, 2008 Author Share Posted October 30, 2008 Looking at the attachment. Can anybody explain why some of the support is missing from one of the php installs? Please :-\ Cheers Quote Link to comment https://forums.phpfreaks.com/topic/130458-gd-not-supporting-jpeg-on-suselinux-install/#findComment-678324 Share on other sites More sharing options...
wildteen88 Posted October 30, 2008 Share Posted October 30, 2008 For JPG you'll need to make sure you have the following configure flag when compiling PHP --with-jpeg=<path/to/jpg-library> You'll need to use a similar path for PNG too. More Info Quote Link to comment https://forums.phpfreaks.com/topic/130458-gd-not-supporting-jpeg-on-suselinux-install/#findComment-678871 Share on other sites More sharing options...
loquela Posted November 8, 2008 Author Share Posted November 8, 2008 Many thanks. Quote Link to comment https://forums.phpfreaks.com/topic/130458-gd-not-supporting-jpeg-on-suselinux-install/#findComment-685237 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.