PHP Test Comes Up As A File Download? Help

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
StavroulaG
Forum Newbie
Posts: 1
Joined: Wed Jan 07, 2009 4:21 am

PHP Test Comes Up As A File Download? Help

Post by StavroulaG »

I just finished installing php, and so I created a simple test file to see if it works. After i typed in http://localhost/info.php, it comes up as a file download. I created another file with simple code and tested it and once again it comes up as a file download. Any ideas why? Thanx :D
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: PHP Test Comes Up As A File Download? Help

Post by novice4eva »

You have to run apache first. What have you installed when you say you have installed PHP, maybe you are talking about wamp/xamp something like those. Run it first and check if all the services have been stated.
Post Reply