From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 07:13:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19DC16A417 for ; Fri, 14 Sep 2007 07:13:53 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 81E3A13C442 for ; Fri, 14 Sep 2007 07:13:53 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from localhost (ppp91-76-106-84.pppoe.mtu-net.ru [91.76.106.84]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTP id 027A12E95934; Fri, 14 Sep 2007 11:14:07 +0400 (MSD) Date: Fri, 14 Sep 2007 11:13:50 +0400 From: Andrew Pantyukhin To: Gabriel Dragffy Message-ID: <20070914071348.GB4831@amilo.cenkes.org> References: <2C739C99-5622-409F-AE47-219D302483E8@pixeco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2C739C99-5622-409F-AE47-219D302483E8@pixeco.com> X-OS: FreeBSD amilo.cenkes.org 7.0-CURRENT FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions@freebsd.org Subject: Re: Lighttpd won't serve up php pages - 500 internal server error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2007 07:13:53 -0000 On Wed, Sep 12, 2007 at 05:41:01PM +0100, Gabriel Dragffy wrote: > Hi all > > I've install php5 and php5-extensions from the latest ports and also lighty > too. I compiled php5 with fastcgi support. > > In lighttpd's error log I see the following: > 2007-09-12 17:32:06: (mod_fastcgi.c.1731) connect failed: Connection > refused on unix:/tmp/php-fastcgi.socket-3 > 2007-09-12 17:32:06: (mod_fastcgi.c.2885) backend died; we'll disable it > for 5 seconds and send the request to another backend instead: reconnects: > 0 load: 1 > 2007-09-12 17:32:06: (mod_fastcgi.c.2658) child signaled: 11 > 2007-09-12 17:32:06: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps > the fastcgi process died): pid: 26390 socket: > unix:/tmp/php-fastcgi.socket-3 > 2007-09-12 17:32:06: (mod_fastcgi.c.3211) child signaled: 11 > 2007-09-12 17:32:06: (mod_fastcgi.c.3254) response not received, request > sent: 850 on socket: unix:/tmp/php-fastcgi.socket-3 for /phpinfo.php , > closing connection Can you try to run it as simple CGI and see what happens?