Re: installing additional packages caused problem with browsing .php pages
- From: "Peter H. Coffin" <hellsop@xxxxxxxxxxxxx>
- Date: Thu, 8 Jan 2009 09:31:09 -0600
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
.
- References:
- Prev by Date: Re: Change Banner (color or image) bassed on URL
- Next by Date: File append: does filesize matter?
- Previous by thread: Re: installing additional packages caused problem with browsing .php pages
- Next by thread: File append: does filesize matter?
- Index(es):
Relevant Pages
|