Msg#: 3902142 posted 5:37 am on Apr 28, 2009 (gmt 0)
I was working on a php script about 3 days ago using XAMPP environment in windows xp - everything worked great, php displayed on browsers and all. Today, I tried to display the same script and all I see is a bunch of the php code on the browser window. I tried opening other php files and even did a simple echo "hello" and nothing! What may be the cause? #*$!! No viruses or anything of that sort either.
Msg#: 3902142 posted 6:45 am on May 2, 2009 (gmt 0)
ok, it tries to download the php file in the browser instead of displaying it. I remember it has to do something with editing the .htaccess file and putting something like addType x-http .html .php or something like this. Question is what file do I edit in xampp?
Update: I found I had already added this line to my httpd.conf file. So with this out of the question, what else could be the cause?
Msg#: 3902142 posted 6:44 am on May 5, 2009 (gmt 0)
Skype, possibly, if you have it, or another program that may use internet connection and using port 80. When I installed Skype, Xampp stopped working, so I told Skype not to use port 80 and it worked again. Check any new program settings, or possibly even firewall settings.