----- Original Message -----
From: "Karlos Z. Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 1:48 PM
Subject: Apache-1.3.19+mod_ssl-2.8.1+php-4.0.4pl1 segfault (no core file
created)


> After compiling mod_ssl apache and php as per instructions, running httpd
> -DSSL segfaults.  I would normally have thought this a php bug, since it
> breaks after adding PHP. But I observed the same behavior when I compiled
> Apache+mod_perl+mod_ssl. (yes I compiled mod_perl into apache, _not_ as a
> DSO).  (And yes as the FAQ states I made sure PHP was compiled with
> -DEAPI)
>
> Apache+mod_ssl works OK
> Apache+php4 works OK
> Apache+mod_ssl+php4 fails
> Apache+mod_perl+mod_ssl fails
>
> For an install log see <a
> HREF="http://home.viptx.net/~kazen/Apache+mod_ssl+php4.build.txt">
> Apache+mod_ssl+php4.build.txt</a>
> For a strace log see <a
> HREF="http://home.viptx.net/~kazen/Apache+mod_ssl+php4.strace.txt">
> Apache+mod_ssl+php4.strace.txt</a>
>
> I would love to provide a gdb backtrace but apache is _not_ producing a
> core file when it segfaults.
> (Yes I compiled with "-g -ggdb3"

Here's how I compiled exactly what you wanted.
Download apache_1.3.19, mod_ssl, php4.04pl2,openssl-0.9.6. untar all the
files.
cd mod_ssl_dir
./configure --with-apache=../apache_1.3.19
cd ../apache_1.3.19
./configure
cd ../openssl-0.9.6
./configure
make
cd ../php4_Dir
CFLAGS='-02 -I../openssl0.9.6 ./configure --with-apache=../apache_1.3.19
make
make install
cd ../apache_1.3.19
SSL_BASE=../openssl-0.9.6

./configure --enable-module=ssl --activate-module=src/modules/php4/libphp4.a
 --enable-module=php4
make
make certificate
make install
/usr/local/apache/bin/apachectl startssl

this worked on my RedHat 6.2 & RedHat 7 boxes. Obviously it installed apache
in the default location.
I did see something about gcc not recognising the -02 flag but it still
worked.
HTH
Jon Lawrece

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to