[ILUG] php 4.0 & apache

Vincent Cunniffe vincent at cunniffe.net
Wed Sep 13 15:12:21 IST 2000


Lars Hecking wrote:
> 
> > Starting a test installation of PHP 4 now, and while I can get
> > everything working without GD, any attempt to include it causes
> > the whole thing to refuse to compile. Very annoying, and quite
> > a common complaint from the PHP lists.
> 
>  Well, it never failed for me. Why not share the relevant configure
>  and/or make output so that we can diagnose the problem?

Solved it myself, finally ;-)

The problem is with existing installations of gd, which aren't being 
correctly overridden by a new (gd-1.8.3) install. Even trying to force
PHP to look at the new installation was failing.

I eventually solved this by finding and nuking the gd-1.2 installation
which was placed by default in /usr/lib, and leaving my new install of 
gd-1.8.3 in /usr/local/lib

Then I reconfigured php-4.02 with with '--with-gd' flag (no args),
together with all of the other args for Apache, MySQL, etc., and 
this time it compiled and installed perfectly.

Vin




More information about the ILUG mailing list