Re: Problem upgrading to PHP 4.1.2

From: Date: Thu, 14 Mar 2002 16:08:40 +0000
Subject: Re: Problem upgrading to PHP 4.1.2
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-88536@lists.php.net to get a copy of this message
Thank you VERY much!!! Worked like a charm... David "Richard Archer" <phpgeneral@juggernaut.com.au> wrote in message news:a05100301b8b615655f5f@[203.89.243.68]... > At 9:22 AM +0100 14/3/02, David Brannlund wrote: > > >This configuration works with GD 1.3-6 and Freetype 1.x. > > > >When we try to upgrade to PHP 4.1.2 with the same configuration, we can't > >use the ImageTTF* functions. We tried to add --with-ttf to the configuration > >with the result that apache wouldn't start (complained about > >gdImageResolveColor). We use apache 1.3.20, btw. > > The following patch fixed it for me: > > diff -r -U3 php-4.1.2/ext/gd/php_gd.h php-4.1.2.gd/ext/gd/php_gd.h > --- php-4.1.2/ext/gd/php_gd.h Sat Aug 25 06:07:07 2001 > +++ php-4.1.2.gd/ext/gd/php_gd.h Thu Feb 28 15:03:02 2002 > @@ -66,7 +66,7 @@ > PHP_MSHUTDOWN_FUNCTION(gd); > > #ifndef HAVE_GDIMAGECOLORRESOLVE > -static int gdImageColorResolve(gdImagePtr, int, int, int); > +extern int gdImageColorResolve(gdImagePtr, int, int, int); > #endif > PHP_FUNCTION(imagearc); > PHP_FUNCTION(imagechar); > > > ...R.

« previous php.general (#88536) next »