Re: installing additional packages caused problem with browsing .php pages



On Thu, 08 Jan 2009 14:21:33 +0100, Jivanmukta wrote:
Hello,
I installed a number of PHP-related additional packages and now I cannot
open .php files in my browser. When I try to open my website's index.php
file in a browser, I receive a message box (opening file with save on disk
option). In message box I see:
        File type: application/x-httpd-php
        Address: http://localhost
But when I try to open HTML file, it works.

By works you mean "rendered in the browser", yes?

Apache's gotten misconfigured and doesn't know to use php as a
preprocessing engine anymore, probably by getting the MIME configuration
stuff fouled. You might get more useful help from an apache group.

--
30. All bumbling conjurers, clumsy squires, no-talent bards, and cowardly
thieves in the land will be preemptively put to death. My foes will surely
give up and abandon their quest if they have no source of comic relief.
--Peter Anspach's list of things to do as an Evil Overlord
.



Relevant Pages

  • Re: back-button question
    ... The general rule is to create or maintain every page on your server of what you what the client to see. ... That way you don't have to worry about satisfying every browser and configuration there is. ... some session variables and outputs a location header to return to b. ... how my bookstore website will react to random events from the user while in a middle of a series of php files that i want to act as a transaction. ...
    (php.general)
  • Re: PHP was working, now after loading PHPEclipse, it doesnt
    ... The funny thing is that php files CAN be opened in the embedded browser that is contained within the Eclipse IDE. ... Tees Close, Witham, Essex. ...
    (comp.lang.php)
  • PHP was working, now after loading PHPEclipse, it doesnt
    ... I can no longer open php files in the ... browser - I simply get a white page - no errors. ... The funny thing is ...
    (comp.lang.php)
  • installing additional packages caused problem with browsing .php pages
    ... I installed a number of PHP-related additional packages and now I cannot ... open .php files in my browser. ... But when I try to open HTML file, ...
    (comp.lang.php)
  • How to handle the POST data
    ... The board consis of three php files: ... the browser will give a message like: ... "The page you are browsing contains POSTDATA. ...
    (php.general)