|
Posted by ljb on 03/29/07 01:58
dstaros@gmail.com wrote:
> 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?
(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 "gd.so", 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.
Navigation:
[Reply to this message]
|