Path: csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Forum displays PHP code, not website Date: Thu, 22 Mar 2012 06:46:50 +0100 Lines: 26 Message-ID: <9svsmbFij9U1@mid.individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net CB8I1EsIXMhbxWQx4EYUlA7TovJHyOcUNFPxLLdLVISLSJ9ogV Cancel-Lock: sha1:9hpbRbUSzN7DW+NI4njxu/7F1P0= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120321 Firefox/11.0 SeaMonkey/2.8 In-Reply-To: Xref: csiph.com comp.lang.php:5192 P E Schoen wrote: > "Dave Pyles" wrote in message news:jkdv3n$s61$1@dont-email.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