1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

PHP Preview PHP files in Browser

Discussion in 'Web Development' started by almo136, Sep 8, 2008.

  1. almo136

    almo136 New Member

    Hi,

    On my computer at work I am able to preview .php files locally in my web browser.

    However when I try to do the same thing at home it won't work. I'm only able to view them in a text editor.

    Any ideas how I can fix this?

    Thanks.
     
  2. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    The one at work, probably has a test server set up on it.
    Look on Google for a test server download, and you'll be able to do it then.
     
  3. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Download http://www.wampserver.com/en/download.php
    Follow the instructions, set it as a service to open when you click on a desktop link for it. Now load your files into your new www directory. Open wampserver and you are set to go.
     
  4. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    Good find!