Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 17:31:46 -0700
From:      Jason <jicit@softhome.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: update of apache2 breaks  php4
Message-ID:  <5.1.1.6.0.20020626171831.01ca7eb8@mail.infinitebubble.com>
In-Reply-To: <5.1.1.6.0.20020625200449.0211ad58@mail.infinitebubble.com>
References:  <200206201749.28376.mark.rowlands@minmail.net> <20020620023717.P20061-100000@mail.kragware.com> <20020620023717.P20061-100000@mail.kragware.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]

---
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

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.0.20020626171831.01ca7eb8>