GD Library w/o reinstalling PHP on Linux?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, I tried using some GD functions and noticed nothing was working on
our Linux server.  Looks like, the library was never compiled during
the PHP 5.1.12 installation.  Is there any way I can just add this
library without reinstalling PHP?


Re: GD Library w/o reinstalling PHP on Linux? wrote:
Quoted text here. Click to load it

(You probably mean PHP 5.1.2 not 5.1.12).

Yes. You need the PHP source distribution, and the installed PHP. Follow
the instructions in README.SELF-CONTAINED-EXTENSIONS at the top of the
source distribution. You will build just the Gd module "", which you
can then copy to your PHP extensions directory and load it with dl() in
your scripts. Without even restarting the web server. Or you can add it
to all scripts by loading it in php.ini.

Site Timeline