How do I enable GD?
Posted: Tue Feb 09, 2010 2:44 pm
So I went through all the trouble of installing GD one dependency at a time, then finally built GD itself. I used the demo script and it successfully generated the demoout.gif, which tells me its installed and working. PHP can't seem to find it though. I tried linking (then copying) the .so file into the extensions directory listed in the php.ini file, restarting apache, and rebuilding GD for the sheer hell of it. No dice. No GD section shows up on my phpinfo() output at all.
I don't have the ability to rebuild PHP or Apache, but I see no reason I should have to. As a side note, I built GD without xpm support. From what I can tell it's not essential or usually even useful, and certainly wouldn't cause my detection scripts to fail, but please correct me if I'm mistaken.
Lastly, if you're wondering, I'm using a couple of php scripts (one centered around function_exists("gd_info")) to determine whether GD is working, they agree that it isn't. Please help, feeling pretty dumbfounded.
I don't have the ability to rebuild PHP or Apache, but I see no reason I should have to. As a side note, I built GD without xpm support. From what I can tell it's not essential or usually even useful, and certainly wouldn't cause my detection scripts to fail, but please correct me if I'm mistaken.
Lastly, if you're wondering, I'm using a couple of php scripts (one centered around function_exists("gd_info")) to determine whether GD is working, they agree that it isn't. Please help, feeling pretty dumbfounded.