Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 08:47:40 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Adam Bayless <adam@baylessfamily.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: PHP on 5.0RELEASE
Message-ID:  <20030130054740.GG89264@ns2.wananchi.com>
In-Reply-To: <5.1.0.14.0.20030129110928.00bce518@mail.baylessfamily.org>
References:  <20030129114855.D5796-100000@geri.cc.fer.hr> <5.1.0.14.0.20030129110928.00bce518@mail.baylessfamily.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Adam Bayless <adam@baylessfamily.org> [20030129 21:11]: wrote:
> 
> 
> I've got a big ugly PHP build on a brand new, otherwise clean 5.0 box that 
> is dumping cores. It works great as an apache module, but the CLI always 
> coredumps. Here's gdb's output:
> 
> Core was generated by `php'.

<cut>
> Reading symbols from /usr/libexec/ld-elf.so.1...done.
> Loaded symbols for /usr/libexec/ld-elf.so.1
> #0  0x2856dde0 in strcmp () from /usr/lib/libc.so.5
<cut>


What happens is you do the following:


ln -s /usr/lib/libc.so.5 /usr/lib/libc.so.4


I had apache core dumping on 5.0-RELEASE until I did that.
I haven't had time to revisit this issue although I vaguely remember
something like that being discussed..



> and here is what php is configured with as per customer's request:
> 
> './configure' \
> '--with-apxs=/usr/local/apache/bin/apxs' \
> '--with-mysql=/usr/local' \
> '--with-imap=/usr/local' \
> '--enable-track-vars' \
> '--with-mhash' \
> '--with-pspell' \
> '--with-gd' \
> '--with-ftp' \
> '--enable-sysvmsg' \
> '--enable-sysvsem' \
> '--enable-sysvshm' \
> '--enable-sockets' \
> '--enable-exif' \
> '--enable-discard-path' \
> '--enable-bcmath' \
> '--with-mm' \
> '--with-openssl' \
> '--with-curl' \
> '--with-pfpro=/usr/local/payflowpro' \
> '--with-zlib' \
> 
> Does anyone have any ideas before I try removing one line at a time from 
> the config till I find the culprit?

I am sure it's not the lines in the config file.


-Wash

-- 
Odhiambo Washington   <wash@wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)


Lieberman's Law:
	Everybody lies, but it doesn't matter since nobody listens.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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