How to run a .php file on my desktop

  • Mark709
  • Novice
  • Novice
  • Mark709
  • Posts: 22

Post 3+ Months Ago

How to run a .php file on my desktop so that I can test it while coding.

When I click on the file it starts internet explorer then asks if I want to open or save the file.

If I click open it says the file is downloaded but I am unable to view it.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

Are you writing the PHP for the web? If so, you need to have PHP installed locally with a web server, and access it via a local URL (e.g. localhost/).
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

I would recommend WAMP as it's simple to use from the very beginning and you get Apache, MySQL, PHPMyAdmin for Windows. (I assume you use Windows since Internet Explorer opens).
  • Mark709
  • Novice
  • Novice
  • Mark709
  • Posts: 22

Post 3+ Months Ago

Thank you Spork and Bogey for your prompt replies.
Yes I am writing for the web.

I will investigate both the suggestions to see what suits me best.

This has been a big help, at least I know where to start.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: Bogey and 113 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.