FutureAndAHope Posted January 17, 2007 Share Posted January 17, 2007 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. Quote Link to comment Share on other sites More sharing options...
trq Posted January 17, 2007 Share Posted January 17, 2007 How are you trying to open the files? Quote Link to comment Share on other sites More sharing options...
FutureAndAHope Posted January 17, 2007 Author Share Posted January 17, 2007 The file I am using is from http://www.libgd.org/DownloadsWe 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 errorEvery file I use does this. Regardless of its name or type. Quote Link to comment Share on other sites More sharing options...
FutureAndAHope Posted January 17, 2007 Author Share Posted January 17, 2007 Ok found out what the problem was it was the file was not being recognised because it needed to be named tar.gz when named filename.tar.gz the Archive Manager was able to recognise it. Quote Link to comment Share on other sites More sharing options...
FutureAndAHope Posted January 18, 2007 Author Share Posted January 18, 2007 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) Quote Link to comment Share on other sites More sharing options...
neylitalo Posted January 18, 2007 Share Posted January 18, 2007 As you guessed, re-compiling PHP should solve that problem. Quote Link to comment 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.