PDA

View Full Version : GD2 on bluehost?



M-G
03-09-2009, 08:57 PM
I've done a search on this forum but found nothing. I ran phpinfo() and found only GD but not GD2. Is GD2 supported on Bluehost? I believe I'm on a unix server so uncommenting the php_gd2.dll won't work right? all I need to do is resize an image for thumbnail version so if there is a better? or bluehost approved way please let me know.

wysiwyg
03-09-2009, 09:17 PM
The GD version is at least 2.1, if that's what you mean.

Image manipulation is CPU intensive and there is a restriction on CPU usage, you may run into problems with it.

M-G
03-09-2009, 09:29 PM
no GD and GD2 are different. On my wamp when I run phpinfo() I get both listed but on bluehost I don't. This is for my upload page which only I will use to upload images to the website to be displayed when someone visits. I realy don't want to make thumbnails manually. Coppermine and Gallery2 both made thumbs fine and they weren't too harsh on the cpu...but they are too bulky for what I need.

wysiwyg
03-09-2009, 10:28 PM
Can you post a link to documentation on GD2? I've never heard of it.

M-G
03-09-2009, 11:13 PM
Well apparently it's a windows dll extension for php.
I guess I'll have to reconfigure my script to run on unix server.
the file is php_gd2.dll

felgall
03-10-2009, 12:01 AM
There is only one GD module in PHP. The only difference between the two DLL files is that one is version one of the module and the other is version two.

M-G
03-10-2009, 09:20 AM
So will the php_gd2.dll work on bluehost?

felgall
03-10-2009, 12:40 PM
So will the php_gd2.dll work on bluehost?

No DLLs only run on Windows. BlueHost already have the latest GD library installed so you don't need the DLL anyway.