Jump to content

GD Library


Recommended Posts

Hi I am attempting to install a copy of the GD Graphics Library on a Linux PC with the version (according to PHP info) "Linux fileserver 2.6.9-1.667" ... the problem I am having is I can not find a download that opens on the system, the .tz files just are not opening. I tried tuecows and some other places.

I need a version 2.0 or higher any ideas on some download sites that I can try.
Link to comment
Share on other sites

The file I am using is from http://www.libgd.org/Downloads

We use Red Hat Linux it come with Archive Manager that should enable the files to be extracted. But it comes up with the following error:

/bin/gtar: This does not look like a tar archive
/bin/gtar: Skipping to next header
/bin/gtar: Archive contains obsolecent base-64 headers
/bin/gtar: Read 3937 bytes from /root/Desktop/R:/PHP Downloads/gd-2.0.33.tar.tar
/bin/gtar: Error exit delayed from previous error

Every file I use does this. Regardless of its name or type.



Link to comment
Share on other sites

Ok So I finally go this thing installed and most of the functions work, but I tried running imagecreatefromjpeg and PHP gave an error saying the function does not exist. When I checked the PHP manual to see why this might be there was a note at the bottom of the page.

NOTE: JPEG support is only available if PHP was compiled against GD-1.8 or later.

Does PHP need to be recompiled with the new GD library (I now have GD 3.3)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.