Why is my new php script suddenly downloading?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bobmct
Forum Newbie
Posts: 1
Joined: Thu Aug 13, 2009 9:00 am

Why is my new php script suddenly downloading?

Post by bobmct »

:?: I have an Ubuntu server running XAMPP and it has been running just fine. All of a sudden some of my back-end ajax scripts outputting using json-encode are prompting the browser to download the file, which is the program source code, versus the json string.

After a couple of days researching this issue I've finally decided to post this question on this forum. Can anyone please advise why this might be happening?

BTW - all the other php programs function just fine including my other php-ajax back end scripts.

Thanks in advance...
izzy4505
Forum Newbie
Posts: 16
Joined: Tue Aug 11, 2009 1:38 pm

Re: Why is my new php script suddenly downloading?

Post by izzy4505 »

Apache isn't using PHP to parse your file. Without more information, that's about all I can tell you.
Post Reply