Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Trouble accessing .php files
  • From: Rikard Johnels <rikjoh@xxxxxxxxx>
  • Date: Wed, 23 Mar 2005 09:45:29 +0100
  • Message-id: <200503230945.30534.rikjoh@xxxxxxxxx>
Hi all!

I am trying top set up a "LAMP" server.
It seems to be up and running, but if i try to access it on a different
computer via konqueror or Firefox (http:mysite/page/test.php) i get a popup
asking:

Open 'http://talen.rikjo...rs/rikjoh/page.php'?
Type: application/x-httpd-php

It doesnt seem to recognize the phpscript as php...

page.php
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

What am i doing wrong? Where shall i look?

--

/Rikard

" Sharing knowledge is the most fundamental act of friendship.
Because it is a way you can give something without loosing something."
-R. Stallman

---------------------------------------------------------------
Rikard Johnels email : rikjoh@xxxxxxxxx
Web : http://www.rikjoh.com/users/rikjoh
Mob : +46 735 05 51 01
PGP : 0x461CEE56
---------------------------------------------------------------

< Previous Next >