Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 8, 2009, 1:21 pm
rate this thread
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
But when I try to open HTML file, it works.
Re: installing additional packages caused problem with browsing .php pages
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
- » Multiple findings in regular expressions pattern findings,
- — Previous thread in » PHP Scripting Forum