From owner-freebsd-questions@FreeBSD.ORG Sun May 14 07:55:42 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 6E22216A404 for ; Sun, 14 May 2006 07:55:42 +0000 (UTC) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE2FD43D5A for ; Sun, 14 May 2006 07:55:41 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IZ8008REWP7FUM0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sun, 14 May 2006 04:55:55 -0300 (ADT) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.103]) ([24.224.199.230]) by ip01.eastlink.ca with ESMTP; Sun, 14 May 2006 04:55:43 -0300 Date: Sun, 14 May 2006 04:54:54 -0300 From: Duane Whitty In-reply-to: <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com> To: Maan Jee Message-id: <4466E24E.2010908@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com> User-Agent: Thunderbird 1.5.0.2 (X11/20060503) Cc: freebsd-questions@freebsd.org Subject: Re: PHP not working 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: Sun, 14 May 2006 07:55:42 -0000 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