The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php is downloading not viewing

Discussion in 'General Discussion' started by Marcus7777, Aug 16, 2007.

  1. Marcus7777

    Marcus7777 Registered

    Joined:
    Aug 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,
    I update apache to add GD and it did not work. so I finilay click on 'Reset Apache Config to Default (last resort)' but now all my php files download in the site not come up in the window. Please help.
    Marcus
     
    #1 Marcus7777, Aug 16, 2007
    Last edited: Aug 16, 2007
  2. mohakevin

    mohakevin Well-Known Member

    Joined:
    Jan 19, 2005
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Try another time to compile apache+php

    I should use the command:

    /scripts/easyapache

    and select the options that you want. In the first menu there is an option to avoid the apache compilation (you mustn´t mark this option).

    Regards and good luck.
     
  3. Marcus7777

    Marcus7777 Registered

    Joined:
    Aug 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    it's okay played about a bit and it's fixed

    it's okay played about a bit and it's fixed. but would love to know what happend?
    Thanks Marcus
     
  4. Marcus7777

    Marcus7777 Registered

    Joined:
    Aug 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thanks mohakevin that's what i did thanks agen
    Marcus
     
  5. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    If PHP is not compilied into Apache, Apache doesn't know to run the PHP files through PHP, instead it just outputs the file.
     
Loading...

Share This Page