#16801 [Com]: httpd segementation fault at statup

From: Date: Mon, 07 Oct 2002 03:56:24 +0000
Subject: #16801 [Com]: httpd segementation fault at statup
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21688@lists.php.net to get a copy of this message
 ID:               16801
 Comment by:       sierra2@webrausch.de
 Reported By:      alexandre.ghisoli@ycom.ch
 Status:           Bogus
 Bug Type:         Apache related
 Operating System: Linux  2.4.18
 PHP Version:      4.2.0
 Assigned To:      yohgaki
 New Comment:

Confirmed.
I encountered exactly the same bug. I'm using Apache+PHP+PostgreSQL and
tried upgrading openssl. PHP was compiled with "--with-openssl
--with-pgsql" as well, and the PostgreSQL I was using was built with
the ssl option before.

Tracked down the problem to not having rebuilt PostgreSQL with the new
openssl version as well before using it with PHP and Apache, thus
probably creating a version conflict of openssl in the resulting apache
binary. I wonder why the build didn't fail ?

However, I now rebuilt PostgreSQL first, afterwards PHP and apache,
everything works fine now.

Had to do a 'make clean' in PHP before recompiling, otherwise it
wouldn't use the new PostgreSQL build.
cu, Andre


Previous Comments:
------------------------------------------------------------------------

[2002-06-27 22:31:59] sniper@php.net

Closed per user request.


------------------------------------------------------------------------

[2002-05-06 09:24:10] alexandre.ghisoli@ycom.ch

Hi yohgaki, 

Yes, I've SSL enable in Postgres, and this is the same version that use
for PHP.

After some search, it seems to be db3 related, conflict between the
Glibc version and a fresh one (Berckley-sleepycat) that I use on somes
systems (for Squid).

But, I dont know why 4.1.2 can safely link, and 4.2.0 don't ....


Can close this bug for me :-)

Thanks for your time.

       --Alexandre

------------------------------------------------------------------------

[2002-04-30 02:28:47] yohgaki@php.net

Alexandre,

What happens if you remove SSL option from libpq?
It sounds like you have SSL support in your libpq.


------------------------------------------------------------------------

[2002-04-29 07:06:57] vincent@yoric.net

i am using redhat6.2 with kernel 2.2.19

segfault appear at startup too. here's my configure script which i used
for 4.1.2 and 4.0.6

./configure --with-mysql --enable-track-vars=yes --enable-bcmath=yes \
--enable-memory-limit=yes --with-imap=../imap-2001a --enable-debug=no
\
--with-apxs --with-config-file-path=/etc/httpd --enable-sockets \
--with-openssl --with-pdflib=/usr/local --with-zlib-dir=/usr
--with-zlib=/usr \
--with-gd=/usr --enable-gd-native-tt --with-ttf=/usr \
--with-png-dir=/usr --with-tiff-dir=/usr --with-jpeg-dir=/usr

------------------------------------------------------------------------

[2002-04-25 11:22:51] j.richter@wallstreet-develop.de

It seems to be an openssl problem. I have the same problem, but without
openssl it works ( but I don't know why :-( )

Regards : Janko

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16801

-- 
Edit this bug report at http://bugs.php.net/?id=16801&edit=1



Thread (11 messages)

« previous php.bugs (#21688) next »