Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 10:00:28 +0200
From:      "Robert Eckardt" <Robert.Eckardt@Robert-Eckardt.de>
To:        "Maan Jee" <maanjee@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: PHP not working
Message-ID:  <20060514075912.M67257@Robert-Eckardt.de>
In-Reply-To: <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com>
References:  <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 May 2006 09:42:22 +0200, 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

There must not be a space in your application type .../x-httpd-...

Robert

--
Dr. Robert Eckardt    ---    Robert.Eckardt@Robert-Eckardt.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060514075912.M67257>