I Cannot Preview PHP file ...... PLZ FRIENDS, HELP ME

Discussion in 'Apache' started by ankur0101, Aug 24, 2008.

  1. #1
    hello friends
    i am making PHP website
    i have installed apache 2.2 in my pc
    i am using dreamweaver 8
    i am using Mozilla firefox browser.

    i have designed pages.....but when i click "Preview in firefox"
    then, firefox opens & downloader appears

    i have attached screenshot photo [ JPEG file ]

    i cannot see the page which i have designed....:confused:
    please help me........
     

    Attached Files:

    ankur0101, Aug 24, 2008 IP
  2. Yesterday4

    Yesterday4 Banned

    Messages:
    207
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you have php compiled with apache ?? if not it wont work.. Plus the files should be in the apache roots
     
    Yesterday4, Aug 24, 2008 IP
  3. ankur0101

    ankur0101 Peon

    Messages:
    278
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    how to do that ?:confused:
     
    ankur0101, Aug 24, 2008 IP
  4. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Better not use apache directly. Instead of that use WAMP or XAMP which free to download and everything are compiled in one package. It's too wasy for newbies like you and me.
     
    scriptaty, Aug 24, 2008 IP
  5. ankur0101

    ankur0101 Peon

    Messages:
    278
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    but how can i use apache ??
    before formatting my pc, it was working fine

    PLEASE HELP ME
     
    ankur0101, Aug 28, 2008 IP
  6. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #6
    uninstall your apache and install XAMP or WAMP like scriptaty had told you :)

    the problem you had got because your apache you don't have php installed on your computer and integrated it with your apache :)
     
    nimhost, Aug 28, 2008 IP