Re: Fwd: [GD-DEVEL] installing gd
| From: | Pierre Joye | Date: | Thu, 15 Apr 2010 09:02:55 +0000 |
| Subject: | Re: Fwd: [GD-DEVEL] installing gd | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-662@lists.php.net to get a copy of this message | ||
hi,
On Mon, Apr 12, 2010 at 6:51 PM, Colin Wood <cmw000@gmail.com> 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