From owner-freebsd-questions@FreeBSD.ORG Sun May 14 08:32:41 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 E6E7616A413 for ; Sun, 14 May 2006 08:32:41 +0000 (UTC) (envelope-from bidjan@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7184643D53 for ; Sun, 14 May 2006 08:32:41 +0000 (GMT) (envelope-from bidjan@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so868307pya for ; Sun, 14 May 2006 01:32:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JhoEvCOs9ZE3sEc6lQ/0GhIJ+hlljVhvkLkzmIKO3AbHcMgi7RYphbYGp9cGR3fwXWeCH8B90vrf/u1r7wQbV0SHsl/IqdSCN461kffaWpnf4xcF3UJLIHfp6/5bmDNuhw7pYsvgD6IY1WrtpM2Vl5sDzpg+ADius2CW0+FC8jA= Received: by 10.35.84.12 with SMTP id m12mr1613680pyl; Sun, 14 May 2006 01:32:40 -0700 (PDT) Received: by 10.35.43.16 with HTTP; Sun, 14 May 2006 01:32:40 -0700 (PDT) Message-ID: Date: Sun, 14 May 2006 04:32:40 -0400 From: "Pablo Mora" To: "Maan Jee" In-Reply-To: <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com> 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 08:32:42 -0000 On 5/14/06, Maan Jee wrote: > Hello, > > I have installed Apache HTTP Server 2.20 and PHP 5. But when I want to op= en > 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 > Once modified the httpd.conf file you must restart apache. As root: apachectl restart don't forget add enable_apache2=3D"YES" to /etc/rc.conf regards. --=20 Linux is for people who hate Micro$oft. BSD is for people who love Unix ...