Re: Fwd: [GD-DEVEL] installing gd
[email protected] (Pierre Joye) Thu, 15 Apr 2010 11:02:55 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, On Mon, Apr 12, 2010 at 6:51 PM, Colin Wood <[email protected]> wrote: > Solution: > > edit: > > /usr/X11/lib/libpng12.la > > Edit lines 10 and 11 to include a dylib file found in your /usr/X11/lib/ > directory: > > # Names of this library. > library_names='libpng12.0.dylib libpng12.dylib libpng12.0.0.0.dylib' > > can be changed to: > > library_names='libpng12.0.dylib libpng12.dylib libpng12.0.26.0.dylib' > > for example. It may be a good idea add more than one, though I'm not sure. > > > This allowed GD to compile and install, however.... PHP is now broken. It's > just showing the code of each PHP file rather than processing it. Anyone > know how to fix this? You should really use the bundled version with PHP, as explained in the libgd PHP FAQ. About PHP showing the source file, looks like you did not configure Apache correctly. But that's not a libgd issue :) Cheers,-- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org