From owner-freebsd-questions Sun Oct 14 19:42:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 05D2537B40B for ; Sun, 14 Oct 2001 19:42:39 -0700 (PDT) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id f9F2ghN44095; Sun, 14 Oct 2001 22:42:43 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Sun, 14 Oct 2001 22:42:43 -0400 (EDT) From: Joe Clarke To: george vagner Cc: questions@FreeBSD.ORG Subject: Re: apache & mod_php3 OT In-Reply-To: <20011014224256.57194.qmail@web13101.mail.yahoo.com> Message-ID: <20011014224223.C32964-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 14 Oct 2001, george vagner wrote: > thanks alot, i would have never figured it out > that way. > > what I was able to do though was install php4 and then > add the .php3 tag to apache's application/X tag > and that seemed to make php4 code run php3 code > as their site says its backwards compatible. > > I still think that there might be some compatability > issues doing it this way but I am brave... This is what I do, and I have yet to have a problem with my old .php3 scripts. Joe > > we will see what happens and i will keep your > fix in my inbox. > > > > --- Joe Clarke wrote: > > > > > > On Sun, 14 Oct 2001, george vagner wrote: > > > > > when trying to run apache with the mod_php3 > > > module it bombs out with > > > > > > cannot load /usr/local/libexec/apache/libphp3.so > > into > > > server undefined symbol gdImageGif > > > > I think the GIF writing code was removed from GD due > > to Unisys' license > > restrictions. If you don't need GD support in PHP, > > you can remove it from > > the initial config dialog. > > > > Looking at the PHP code, it looks like PHP3 with GD > > support is broken > > unless you have LZW support in GD. A workaround > > would be to do a make > > configure on mod_php3, then edit > > work/php-3.0.18/config.h, and change: > > > > #define HAVE_GD_GIF 1 > > > > to > > > > #define HAVE_GD_GIF 0 > > > > Then do make install clean. Seems PHP's configure > > script checks for GD, > > but doesn't do an individual check for GdImageGif. > > > > Joe > > > > > > > > > > > what do i need to do to get php3 support on the > > > server? > > > > > > this is 4.4-stable as of about 1 week ago. > > > > > > apache is 1.3.20 and I just did a make in the > > ports > > > for mod_php3 to install it. > > > > > > really lost now..... > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Make a great connection at Yahoo! Personals. > > > http://personals.yahoo.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body > > of the message > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message