First run of WAMP
Posted by: Macromac (213.166.210.---)
Date: July 07, 2006 02:36PM

Hi, I have just started learning PHP and have installed WAMP on my computer with no problem and all is well.
However when I run a small test a File Download screen pops up asking me what I want to do with the .php file! Of course I want it to run but I can only open it (in DW) or save it.
What is wrong?
The test works on another system so it is something wrong with the configuration or something.

Thanks for reading this mail and any help that you can give.


Re: First run of WAMP
Posted by: yfastud (72.236.169.---)
Date: July 07, 2006 02:45PM

Different servers have different setup, I had to change the header of my files to work in wamp. Check my simple sample tests here
Edit: By the way, how did you run your test file? Hope you didn't run by direct click on it, but should like this:
Your testfile.php should be in wamp/www/testfolder.
Hope this help

Post Edited (07-07-06 19:19)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS

Re: First run of WAMP
Posted by: Macromac (213.166.210.---)
Date: July 07, 2006 10:11PM

Thanks for the info.

My problem was that the php file wasn't in the WWW folder. When I put it there and changed the address in the html page it worked ok.

Thanks again

Sorry, only registered users may post in this forum.