From owner-freebsd-questions@FreeBSD.ORG Tue Aug 12 14:28:14 2003 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 73CD837B401 for ; Tue, 12 Aug 2003 14:28:14 -0700 (PDT) Received: from gremlin.material.net (66-108-186-167.nyc.rr.com [66.108.186.167]) by mx1.FreeBSD.org (Postfix) with SMTP id 87ACB43F85 for ; Tue, 12 Aug 2003 14:28:13 -0700 (PDT) (envelope-from tb@gremlin.material.net) Received: (qmail 66430 invoked by uid 1001); 12 Aug 2003 21:28:29 -0000 Date: Tue, 12 Aug 2003 17:28:29 -0400 From: tb To: freebsd-questions@freebsd.org Message-ID: <20030812212829.GC52753@gremlin.material.net> References: <20030812204941.GB32551@gremlin.material.net> <005a01c36114$ecb215c0$e400a8c0@ape> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005a01c36114$ecb215c0$e400a8c0@ape> User-Agent: Mutt/1.4.1i Subject: yes! (Re: frustrating *dumb* problem getting php to work under apache) 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: Tue, 12 Aug 2003 21:28:14 -0000 markie@notwentytwo.freeserve.co.uk (Tue 08/12/03 at 10:01 PM +0100): > As it sounds like you've done everything alright, could I suggest you try > creating a page, for now index.php and inside putting the following yeah, i was trying php scripts in .php files. i know, it never hurts to ask... > You'll want to do this with > > LoadModule php4_module libexec/apache/libphp4.so > AddModule mod_php4.c > AddType application/x-httpd-php .php > > In the apache configuration... BINGO! in three out of three (actually, more like ten out of ten) of my test config files, i had two out of three of those lines. i knew it was dumb mistake. otoh, i don't think i saw a single FAQ that said 'HEY STUPID -- you need *three* new configs to get this to work. so now i know. i'll make a note of it in my httpd.conf and put it up somewhere. THANKS MUCH! you brightened up my day. ok, now what kind of beer should i attach? (just make sure you have the plug-in. :) cheers, t