From owner-freebsd-questions Thu Jun 27 14: 2:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by hub.freebsd.org (Postfix) with SMTP id 48B4E37B405 for ; Thu, 27 Jun 2002 14:01:26 -0700 (PDT) Received: (qmail 20474 invoked by uid 417); 27 Jun 2002 21:01:20 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 27 Jun 2002 21:01:20 -0000 Received: from aurvandil.softhome.net ([66.114.152.144]) (AUTH: LOGIN jicit@softhome.net) by softhome.net with esmtp; Thu, 27 Jun 2002 15:01:19 -0600 Message-Id: <5.1.1.6.0.20020627135541.01d5cbd8@mail.infinitebubble.com> X-Sender: jicit@mail.softhome.net X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Thu, 27 Jun 2002 13:57:32 -0700 To: freebsd-questions@FreeBSD.ORG From: Jason Subject: Re: update of apache2 breaks php4 In-Reply-To: <5.1.1.6.0.20020626171831.01ca7eb8@mail.infinitebubble.com> References: <5.1.1.6.0.20020625200449.0211ad58@mail.infinitebubble.com> <200206201749.28376.mark.rowlands@minmail.net> <20020620023717.P20061-100000@mail.kragware.com> <20020620023717.P20061-100000@mail.kragware.com> Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-7EAC6797; boundary="=_jive-20394-1025211680-0001-2" 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 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_jive-20394-1025211680-0001-2 Content-Type: text/plain; x-avg-checked=avg-ok-7EAC6797; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mime-Autoconverted: from 8bit to 7bit by courier 0.38 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. --=_jive-20394-1025211680-0001-2 Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-7EAC6797 Content-Transfer-Encoding: 7bit Content-Disposition: inline --- 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 --=_jive-20394-1025211680-0001-2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message