From: das <dasd.here(a)gmail.com>
Reply-to: "Community assistance, encouragement, and advice for using
To: Community assistance, encouragement, and advice for using Fedora.
Subject: PHP Mime Broken?
Date: Thu, 29 Jan 2009 18:15:56 +0530
I copied a part of an website with 'wget -ckr' and then when I opened
the files with a browser, none of the three GUI browsers Epiphany,
Firefox, or Galeon on my Fedora 8 are being able to open the PHP
files, like say index.php which is called by index.html. Even when I
gave the command 'Open With' what is happening that the browser is
opening another tab, and asking there once again how to open the *.php
files. As a test I sent some files in a tar to one of my friends who
is on Fedora 10, and they are opening fine.
What is happening there? Is the mime broken? And why? Any suggestion?
One thing, for the time being I will not be able to upgrade to Fedora
10, I am now too busy with a job to change OS. Anything else?
Thank you all.
Sounds to me like you need to start your web server
and put the files in the web root dir so they can
be served and then point the browser to the local URL
php does not run outside of web server through a browser
either run through the web server (apache) or you can
run them on a command line.