From owner-freebsd-questions@FreeBSD.ORG Sun May 14 16:56:16 2006 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 9D0C616A409 for ; Sun, 14 May 2006 16:56:16 +0000 (UTC) (envelope-from fbsd@a1poweruser.com) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219D343D46 for ; Sun, 14 May 2006 16:56:15 +0000 (GMT) (envelope-from fbsd@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060514165615.ZCNY14145.mta10.adelphia.net@barbish>; Sun, 14 May 2006 12:56:15 -0400 From: "fbsd" To: "Duane Whitty" , "Maan Jee" Date: Sun, 14 May 2006 12:56:09 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <4466E24E.2010908@greenmeadow.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: freebsd-questions@freebsd.org Subject: RE: PHP not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 16:56:16 -0000 New in 6.1 the port group decided to change the default which activates the include of php4/5 for apache. I agrees this was a very stupid thing to do as it now is causing all the apache/php users to change the way they have installed php5 in the past. It's my understanding that php4 & php5 packages can no longer be used to install php for apache. You have to use the port version of php4 or php5 and first do a "make config" and select the apache option and then do "make install". If you think it was stupid for the ports group to change the default in 6.1 then post a email to ports@freebsd.org and let them know how you feel about this. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Duane Whitty Sent: Sunday, May 14, 2006 3:55 AM To: Maan Jee Cc: freebsd-questions@freebsd.org Subject: Re: PHP not working Maan Jee wrote: > Hello, > > I have installed Apache HTTP Server 2.20 and PHP 5. But when I want to > open > index.php file in the browser instead of getting the Output Html page, > I get > SAVE "index.php" file popup. > > What is the wrong, I have added these lines in httpd.conf > AddType application/x- httpd-php . php > AddType application/x- httpd-php-source . phps Also make sure there are no spaces in .php and .phps in the above lines --Duane > > Thanks > > vj _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"