Have you restarted apache (or whatever web server you are running)
since installing php ?

/etc/init.d/apache2 restart

Failing that, make sure you have the php apache module installed
(libapache2-mod-php5, i believe), then restart apache.

If the PHP code is what shows up in the downloaded file, then you have
an issue where the web server isn't processing the php code in your
index.php and may be configured incorrectly.
If the HTML is what shows up in the downloaded file, then you probably
have an issue with content-type headers, which may be a PHP setting,
but I'm not sure.

Hope that helps.

Elijah

On Mon, Nov 17, 2008 at 2:49 PM, Lars Kuppert
<[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> just setting up my vmware server (just for testing).
> I put an index.php into the server folder. But instead of opening it,
> firefox wanna download the index.php.
> Why that?
> Greetings,
> lars
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject
> of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to