Web Hosting Talk







View Full Version : PHP with GD Lib


WreckRman2
02-06-2002, 02:48 AM
I downloaded a thumbnail image script that converts images into thumbnails only it's not working. I have been told I need GDLib installed with PHP but how do I know if I have it and what version? If I don't have it how can I install it... Thanks...

WreckRman2
02-06-2002, 03:16 AM
Ok I ran the following code I found on the PHP.net site and it says, GD not loaded. How do I load it?


<?php
if(function_exists('imagetypes'))
echo 'GD is loaded';
else
echo 'GD is not loaded';
?>

dnid
02-06-2002, 04:50 AM
you have to recompile PHP or if you don't need the newest version of PHP you'll find a PKG for the RaQ4 at http://pkg.nl.cobalt.com

HTH
Daniel

WreckRman2
02-06-2002, 08:35 AM
Thanks for your help. Can you tell me how to re-complie PHP or point me to a site that could explain it for me?

Also I have a RaQ3, would the new pkg work with my server?

mlx
02-06-2002, 08:54 PM
I'm not sure if the pkg works on a RaQ3.

In case you want to compile it yourself check out this thread: http://www.webhostingtalk.com/showthread.php?threadid=17615

dnid
02-06-2002, 09:22 PM
Unfortunately the PKG-File does not work on a RaQ3, according to Taco Scargo from the EMEA-Cobalt-PKG-Team.

Daniel