Previewing PHP SSI's offline.

Discussion in 'PHP' started by mrukjames, Jan 11, 2008.

  1. #1
    Hi, I am new to PHP and would like to know how to preview Server Side Include's pages when I am working with them off line. Do I have to run apache. If so, where do I learn this? I have downloaded and installed apache but don't know what to do with it.

    Thanks
     
    mrukjames, Jan 11, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Hello,

    Try WAMPServer: wampserver.com/en/

    It install Apache + MySQL (Databases) + PHP (Scripting language) and configures them all for you, easy as pie!

    Jay
     
    jayshah, Jan 14, 2008 IP
  3. mrukjames

    mrukjames Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Jay, I appreciate your response. I forgot to say that I am a Linux user though. Are there any other recommendations?

    Thanks
     
    mrukjames, Feb 1, 2008 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    For SSI you would have to run apache. httpd & starts it. For SSI you might have to modify httpd.conf. Could always open up a browser and type in localhost to see if its running already.

    Here's a guide to install/config (skip down to the starting/running section)
    http://linuxgazette.net/issue12/server.html

    Here's a guide for the SSI part:
    http://bignosebird.com/ssi.shtml

    If those don't help post back with where you are stuck.

    PS: you would probably get more help if you posted this under Web Design& Development>Site & Server Admin >Apache
     
    shallowink, Feb 1, 2008 IP