Why is GD disabled?

gforce20

New Member
Messages
1
Reaction score
0
Points
0
My site needs to use the PHP GD functions, but as far as I can tell, they are disabled. Why is this? Can I enable it somehow?
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
As far as I know, the PHP is going to be recompiled sometime soon and this will include the GD library. There is no way to enable it only on your account.
 

cerbere

New Member
Messages
51
Reaction score
1
Points
0
Hi gforce20,

That's strange, GD works fine for me (I am also on absolut,
free hosting). Are you on PHP "basic" or "intermediate" ?
I remember having to request to be changed from basic to
intermediate to make my GD calls work. That request was
granted within 24 hours.

Curiously, my account panel says

PHP Version -5.2.8 Version 1 - Basic

but GD is still functional... go figure.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
Hi gforce20,

That's strange, GD works fine for me (I am also on absolut,
free hosting). Are you on PHP "basic" or "intermediate" ?
I remember having to request to be changed from basic to
intermediate to make my GD calls work. That request was
granted within 24 hours.

Curiously, my account panel says

PHP Version -5.2.8 Version 1 - Basic

but GD is still functional... go figure.

The PHP Version system is broken so what you have is not necessarily what it says you have. It looks like the staff are pretty far along with fixing some servers but not others. Stoli doesn't have GD right now but absolute does, it seems.
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
I too have a problem with GD (for CAPTCHA system).

I have had to downgrade the code...
 

hezuo

New Member
Messages
174
Reaction score
0
Points
0
I have the same problem, too. I hope we can have GD enabled soon.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
GD was enabled on Stoli last time I checked. There may be some issues still with the PHP level system, though I am not aware of any.

You can check this yourself by using the phpinfo() function:
Code:
<?php
phpinfo();
?>

Make sure you delete this file or make it so it cannot be accessed by anyone who doesn't have permission as this is a big security risk.

All the modules are displayed in the function output. Just do a ctrl-F and find GD.

This is from Stoli:

gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled
 
Top