Hello Friends
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. -- das ddts.randomink.org
On Thu, 2009-01-29 at 18:15 +0530, das wrote:
What is happening there?
We don't know. You haven't given any examples that we can examine.
On Thu, Jan 29, 2009 at 7:23 PM, Tim ignored_mailbox@yahoo.com.au wrote:
We don't know. You haven't given any examples that we can examine.
Shall I attach the same tar file to this list? It is only 50kb.
-- das ddts.randomink.org
The problem is not understanding that the *.php files are to be browsed, it is opening them with some text editor.
-- das ddts.randomink.org
-----Original Message----- From: das dasd.here@gmail.com Reply-to: "Community assistance, encouragement, and advice for using Fedora." fedora-list@redhat.com To: Community assistance, encouragement, and advice for using Fedora. fedora-list@redhat.com Subject: PHP Mime Broken? Date: Thu, 29 Jan 2009 18:15:56 +0530
Hello Friends
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. -- das ddts.randomink.org
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.
Don
das wrote:
Hello Friends
<snipped text>
Thank you all.
das ddts.randomink.org
Make sure the browser is being given http://localhost/... etc and NOT file:////var/www/html/... etc
Damian S wrote:
das wrote:
Hello Friends
<snipped text>
Thank you all.
das ddts.randomink.org
Make sure the browser is being given http://localhost/... etc and NOT file:////var/www/html/... etc
Also, I hope you haven't forgotten that to browse the files they will need to be in a directory which apache can read.