From owner-freebsd-stable@FreeBSD.ORG Thu Apr 17 12:05:29 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09D5F106566C for ; Thu, 17 Apr 2008 12:05:29 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id C17E88FC31 for ; Thu, 17 Apr 2008 12:05:28 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so11429anc.13 for ; Thu, 17 Apr 2008 05:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=aE2OwTFpYPqQnfHVosQDLGTQgencV6guIIVRNdXaSKg=; b=IN2KQkuBUxmulFLia61Yg6aEBWeWtsipfiuDXnZtuXp9Qi1jeplIxqCR9OOdL+d17mALylWDQG9ILOymNdExA6v/PtUxP5m0G3i1wX2n2W4vWsTvV1OAVFa0SjmlHYdKipoJu08Ump2YcnRnxjEhy34GwwmzBK0kFUR4VRsMgFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ICTT9k56q9Gm3778JFRbejwKpLPSn0GdtbiYmWhmqINyK7k0GhMUlP3/5ETIMtm24NEJCzfdqqNBkbbQMsY8lhpEhKISd8UTYyjLYO6r2tIThTSjLRfkqi3p9PKKdIYp3NJOFXonPBPLKCZPXF+azfn/yUybeouhm7Wn4NBOlxc= Received: by 10.100.216.3 with SMTP id o3mr2433724ang.62.1208433927778; Thu, 17 Apr 2008 05:05:27 -0700 (PDT) Received: by 10.100.228.15 with HTTP; Thu, 17 Apr 2008 05:05:27 -0700 (PDT) Message-ID: Date: Thu, 17 Apr 2008 14:05:27 +0200 From: "Claus Guttesen" To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: php5 and postgresql 8.2/8.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 12:05:29 -0000 Hi. I have installed php5 with support for postgresql (php5-pgsql). If I install postgresql-client ver. 8.2.7 or 8.3.x apache (httpd) core-dumps. If I install postgresql-client 8.1.11 or 8.2.6 apache does not core-dump. This is the output (backtrace) from gdb: (gdb) bt #0 0x000000080651c340 in ?? () #1 0x000000080094ebd5 in puts () from /lib/libc.so.7 #2 0x000000080094f1ee in gethostbyname () from /lib/libc.so.7 #3 0x000000000041ee80 in ap_get_local_host () #4 0x000000000041e131 in ap_fini_vhost_config () #5 0x000000000040de35 in ap_read_config () #6 0x00000000004156f1 in standalone_main () #7 0x0000000000416e2c in main () I have confirmed that it's postgresql which makes apache core dump by commenting out pgsql.so in /usr/local/etc/php/extensions.ini. This - off-course - prevents me from connecting to my db. :-/ Apache is ver. 1.3.41 from ports with no changes to the default-values during portinstall. PHP is ver. 5.2.5_1. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare