Jump to content

Firefox PHP in Mandriva 2007


Magikx21
 Share

Recommended Posts

I recently installed Mandriva 2007 onto one of my computers. It works fine except when I am using Firefox and goto a .php page it either tries to download the file or it closes Firefox. Can someone tell me what's worng and give me an idea of how to fix it. Thanks.

Link to comment
Share on other sites

If your browser is trying to download the file instead of just display it as html, it's almost certainly a web server problem - the web server is either delivering the raw php (which it shouldn't, it should process it into html), or it's configured wrong so it's reporting the wrong file type.

 

Are you running the web server too, is it your php that you're trying to run? Or is it someone else's php server somewhere on the internet?

 

Note that if you're just trying to "open file" in the browser and select the php file from your file system, then that's the wrong way to go about it. You need a web server.

Link to comment
Share on other sites

Does the site have any flash, java, or other such items on it? That is, things that are more than your basic XHTML (PHP included in that, because PHP is server side so the client shouldn't even see it).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...