From owner-freebsd-questions Thu Oct 31 7:55:18 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 99BDC37B401 for ; Thu, 31 Oct 2002 07:55:16 -0800 (PST) Received: from ene.asda.gr (ene.asda.gr [193.92.118.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7616F43E4A for ; Thu, 31 Oct 2002 07:55:15 -0800 (PST) (envelope-from lefty@asda.gr) Received: from asda.gr (lefty.ene.asda.gr [193.92.118.162]) (authenticated bits=0) by ene.asda.gr (8.12.6/8.12.6) with ESMTP id g9VFt2kD043594; Thu, 31 Oct 2002 17:55:03 +0200 (EET) (envelope-from lefty@asda.gr) Message-ID: <3DC15261.896280DF@asda.gr> Date: Thu, 31 Oct 2002 17:55:13 +0200 From: Lefteris Tsintjelis X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,el MIME-Version: 1.0 To: DaleCo Help Desk Cc: John Bleichert , Rotaru Razvan , freebsd-questions@FreeBSD.ORG Subject: Re: regarding php installation References: <01ba01c280ef$2cdee760$fa00a8c0@DaleCoportable> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit 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 DaleCo Help Desk wrote: > > 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? Try adding the following in your httpd.conf: AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message