From owner-freebsd-questions Thu Oct 31 7: 8:43 2002 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 06CC137B401 for ; Thu, 31 Oct 2002 07:08:42 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2008543E6E for ; Thu, 31 Oct 2002 07:08:41 -0800 (PST) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.236.218] by mail.gbronline.com (SMTPD32-7.13) id A7075C810096; Thu, 31 Oct 2002 09:06:47 -0600 Message-ID: <01ba01c280ef$2cdee760$fa00a8c0@DaleCoportable> From: "DaleCo Help Desk" To: "John Bleichert" , "Rotaru Razvan" Cc: References: Subject: Re: regarding php installation Date: Thu, 31 Oct 2002 09:07:02 -0600 Organization: DaleCo, S.P.---"the solutions people" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "John Bleichert" To: "Rotaru Razvan" Cc: Sent: Thursday, October 31, 2002 8:45 AM Subject: Re: regarding php installation > On Thu, 31 Oct 2002, Rotaru Razvan wrote: > > > Date: Thu, 31 Oct 2002 06:41:45 -0800 (PST) > > From: Rotaru Razvan > > To: freebsd-questions@FreeBSD.ORG > > Subject: regarding php installation > > > > Hello, > > > > Well I have apache2+mod_php4 installed. Still my apache server does not > > execute php scripts (it just sends them as plain text). After > > installing mod_php4 i didn't modify anything in httpd.conf. > > Should I? As i can tell the module is loaded. Why is the server not > > running the scripts? > > > > Regards, > > Razvan > > > > Assuming it's the same setup as 1.2.x you need to tell the server what > type of files to interpret as php. See the comments in the file, search it > for 'php'. > > JB > > # John Bleichert That's pretty much it. Load_Module, Add_Module, and AddType application should get it. Do your scripts have the .php extension? Kevin Kinsey, DaleCo, S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message