Re: PHP GD library installing

From: Date: Thu, 10 Apr 2008 10:50:44 +0000
Subject: Re: PHP GD library installing
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-272823@lists.php.net to get a copy of this message
On 10/04/2008, Thijs Lensselink <dev@lenss.nl> wrote: > Quoting Luca Paolella <luca.paolella@gmail.com>: > > > > How do I install/activate the GD library with my existing PHP version? > > I'm quite sure it isn't already, since I got this error: > > > > Fatal error: Call to undefined function imagecreate() in > > > /Volumes/Data/Users/luca/Library/WebServer/Documents/reloadTest/image.php > on > > line 6 > > > > Please forgive my ignorance, and thanks for your help > > > > > > On windows it's as easy as downloading the dll from pecl4win.php.net. > > But from your directory structure i presume you have some sort of *nix > system. > So you have to reconfigure and rebuild PHP. Ouch... first try installing the php gd module through whatever package manager your *nix distribution uses. For instance, on Ubuntu linux you'd do: sudo aptitude install php5-gd -robin

« previous php.general (#272823) next »