From owner-freebsd-questions Fri Jul 19 13:29:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23F6337B400 for ; Fri, 19 Jul 2002 13:29:14 -0700 (PDT) Received: from mamacass.springsips.com (mamacass.springsips.com [63.80.49.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C576443E58 for ; Fri, 19 Jul 2002 13:29:12 -0700 (PDT) (envelope-from postmaster@springsips.com) Received: from there (cc2.springsips.com [63.80.49.27]) by mamacass.springsips.com (Postfix) with SMTP id B18DA61103; Fri, 19 Jul 2002 14:29:09 -0600 (MDT) Content-Type: text/plain; charset="iso-8859-1" From: Chris Craft To: Jason , freebsd-questions@FreeBSD.ORG Subject: Re: update of apache2 breaks php4 Date: Fri, 19 Jul 2002 14:29:12 -0600 X-Mailer: KMail [version 1.3.1] References: <5.1.1.6.0.20020625200449.0211ad58@mail.infinitebubble.com> <20020620023717.P20061-100000@mail.kragware.com> <5.1.1.6.0.20020627135541.01d5cbd8@mail.infinitebubble.com> In-Reply-To: <5.1.1.6.0.20020627135541.01d5cbd8@mail.infinitebubble.com> Organization: SpringSips.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020719202909.B18DA61103@mamacass.springsips.com> 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 Has anyone successfully built apache2(.0.39) and php4(.2.1) outside of the ports system? (raw sources or otherwise patched sources?) I'm trying to get some groupware installed which requires (at least) php4.0.6. Sincerely, Chris Craft, NOC Meister SpringSips.com On Thursday 27 June 2002 14:57, Jason wrote: > At 05:31 PM 6/26/2002 -0700, Jason wrote: > >At 08:05 PM 6/25/2002 -0700, Jason wrote: > >>At 05:49 PM 6/20/2002 +0200, Mark Rowlands wrote: > >>>On Thursday 20 June 2002 9:48 am, Alex Charalabidis wrote: > >>> > On Thu, 20 Jun 2002, Mark Rowlands wrote: > >>> > > while installing mod_php4 WITH_APACHE2 the follow error occurs: > >>> > > > >>> > > php_functions.c:93 syntax error > >>> > > > >>> > > stop in ../work/php-4.2.1/sapi/apache2filter > >>> > > > >>> > > attempting to install apache2 standalone produces the following > >>> > > error when you try to start apache..... > >>> > > > >>> > > httpd:module "sapi_apache2.c" is not compatible with this version > >>> > > of Apache. > >>> > > > >>> > > thoughts anybody? > >>> > > >>> > Edited php_functions.c and replaced MODULE_MAGIC_AT_LEAST with > >>> > AP_MODULE_MAGIC_AT_LEAST. It built. It runs. > >>> > >>>thanks a million gentlemen. May you be blessed with your heart's desire. > >>> > >>> > >>>To Unsubscribe: send mail to majordomo@FreeBSD.org > >>>with "unsubscribe freebsd-questions" in the body of the message > >> > >>I had no problems while installing using: > >> > >>cd /usr/ports/www/mod_php4 > >>make -DWITH_APACHE2 install > >> > >>However when I try to start apache I get this error: > >> > >>Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf: > >>Cannot load /usr/local/libexec/apache2/libphp4.so into server: > >>/usr/local/libexec/apache2/libphp4.so: Undefined symbol > >> "ssl_onceonlyinit" > >> > >>Any ideas on how to fix it? > > > >I finally got it to work on my onw. I'm not positive, but I think what I > >was missing was specifically X'ing the option for OpenSSL in the > >config. Here are the steps I took that make me uncertain what actually > >did the trick: > > > >cd /usr/ports/www/mod_php4 > >make deinstall > >cd /usr/ports/www/apache2 > >make deinstall > >cd /usr/ports/www/mod_php4 > >make clean > >make -DWITH_APACHE2 clean > >make install > >(was sure to X OpenSSL) > >cd /usr/ports/www/apache13 > >make deinstall > >cd /usr/ports/www/mod_php4 > >make deinstall > >make -DWITH_APACHE2 install > > I spoke too soon, turns out that it did not work. Nor did it work with > Apache 1.3. > I'm going with mod_php3 and Apache 1.3 for now. At least it seems to be > working so far. > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message