Re: Forum displays PHP code, not website [message #177373 is a reply to message #177372] |
Thu, 22 March 2012 05:46 |
J.O. Aho
Messages: 194 Registered: September 2010
Karma:
|
Senior Member |
|
|
P E Schoen wrote:
> "Dave Pyles" wrote in message news:jkdv3n$s61$1(at)dont-email(dot)me...
>
>> P E Schoen wrote:
>>> Last night I wanted to check out a forum http://www.mytractorforum.com/,
>>> but instead of showing the forum, it displays the PHP code. I thought it
>>> was a temporary glitch, but it's going on almost 24 hours now. I don't
>>> really know how to contact them. But I'm wondering what may have
>>> happened. Hacked?
>
>> Seems to be working correctly now.
>
> I tried again, and still saw the problem, but it was reloading the page from
> the cache. A refresh cleared it up. I still wonder what could have caused the
> source to be displayed. Would this happen if the PHP application on the server
> was missing or defective?
This can happen when you upgrade the web server service, like apache or iis
and you manage to reset or overwrite configurations so that the php module
isn't loaded anymore, then the php pages will not be parsed and those you get
the source instead of the result.
--
//Aho
|
|
|