From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 01:19:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F0D0316A4A5 for ; Tue, 28 Jun 2005 01:19:11 +0000 (GMT) (envelope-from freebsdlists@thingysrealm.myftp.org) Received: from thingysrealm.myftp.org (81-86-82-155.dsl.pipex.com [81.86.82.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 3FA0143FB4 for ; Tue, 28 Jun 2005 01:15:26 +0000 (GMT) (envelope-from freebsdlists@thingysrealm.myftp.org) Received: (qmail 41010 invoked by uid 1011); 28 Jun 2005 01:15:24 -0000 Received: from 10.0.0.2 by rackmount.orbsrealm.com (envelope-from , uid 1010) with qmail-scanner-1.25-st-qms (clamdscan: 0.83/781. perlscan: 1.25-st-qms. Clear:RC:0(10.0.0.2):. Processed in 0.253366 secs); 28 Jun 2005 01:15:24 -0000 X-Antivirus-Thingysrealm.myftp.org-Mail-From: freebsdlists@thingysrealm.myftp.org via rackmount.orbsrealm.com X-Antivirus-Thingysrealm.myftp.org: 1.25-st-qms (Clear:RC:0(10.0.0.2):. Processed in 0.253366 secs Process 41005) Received: from unknown (HELO anubis) (freebsdlists@thingysrealm.myftp.org@10.0.0.2) by thingysrealm.myftp.org with SMTP; 28 Jun 2005 01:15:22 -0000 Date: Tue, 28 Jun 2005 02:15:24 +0100 From: Grant To: freebsd-questions@freebsd.org Message-ID: <20050628021524.7ba2df56@anubis> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: Small HTTPD + PHP4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 01:19:28 -0000 Hey, I was wondering if anyone has tried out some small httpd's, the one i'm interested in at the moment is lighttpd, it seems pretty good for basic HTML and images. The problem i have is that i cant get PHP4 to work with it, i've set up my config like this for php. -- fastcgi.server =3D ( ".php" =3D> ( "localhost" =3D> ( "socket" =3D> "/tmp/php-fastcgi.socket", =20 "bin-path" =3D> "/usr/local/bin/php" =20 ) ) ) -- I'm not sure if that has wrapped quite right, but it does show the details. The one thing i have noticed is when playing with lighttpd on my debian box i had the bin-path set to /usr/bin/php-cgi but with freebsd i cant find php-cgi on my box nor can i find anything about php-cgi on freebsd. I dont know if this is the right choice for me, but all i really want is a small simple and fast httpd for running a php forum and thats about it.. nothing else.=20 I currently have apache1.33+ssl installed as well as php4 with the most common extensions. (ftp, mysql, openssl and a few others) What i would really like is to have is a small httpd to run just the forum and apache to do anything else, i dont know if that is possible if not, i dont mind moving from apache if the alternative has php that works ;)=20 So if anyone has any recommendations other than lighttpd, or have some nice guides to getting php4 on some small http's including lighttpd please point me to them :) Thanks in advance =46rom Grant.