From owner-freebsd-questions@FreeBSD.ORG Sat Sep 18 00:36:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F38B216A4CE for ; Sat, 18 Sep 2004 00:36:56 +0000 (GMT) Received: from alpargata.net (alpargata.net [67.18.172.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7ED43D1D for ; Sat, 18 Sep 2004 00:36:56 +0000 (GMT) (envelope-from nospam@illusionart.com) Received: from [192.168.1.100] (dsl081-061-217.dsl-isp.net [64.81.61.217] (may be forged)) (authenticated bits=0) by alpargata.net (8.12.10/8.12.10) with ESMTP id i8I0dRvj017352 for ; Fri, 17 Sep 2004 19:39:28 -0500 (CDT) (envelope-from nospam@illusionart.com) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Vonleigh Simmons Date: Fri, 17 Sep 2004 17:36:41 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on alpargata.net X-Virus-Status: Clean Subject: Apache13 + mod_php segfault at startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Sep 2004 00:36:57 -0000 I keep struggling with this without finding a way of fixing it. Whenever I link in mod_php into httpd.conf (loadmodule and addmodule), apache fails to start up. I can get it to work by commenting mod_php it out, starting up apache, then commenting it back in and restarting. If I restart once more, then it segfaults again. In the logs I occasionally get: [notice] child pid 17255 exit signal Segmentation fault (11) I've tried installing (and reinstalling) apache13-modssl, apache13-modperl, reinstalling /usr/ports/www/mod_php4, compiling apache without expat, checking ldd: /usr/local/libexec/apache/libphp4.so: libcrypt.so.2 => /lib/libcrypt.so.2 (0x28248000) libm.so.2 => /lib/libm.so.2 (0x28261000) /usr/local/libexec/apache/libphp4.so: libcrypt.so.2 => /lib/libcrypt.so.2 (0x28248000) libm.so.2 => /lib/libm.so.2 (0x28261000) So far nothing has been successful. I even tried installing apache2 to see if that would work, and although it does for the most part, it crashes when using the php mail() function. Any suggestions at all are welcomed. I'm willing to try anything at this point. It was all working beautifully until I did a portupgrade of apache and mod_php. I really wish I would've just left it alone. Vonleigh Simmons