help please - .php pages are showing as text

Discussion in 'Site & Server Administration' started by basscleff, Apr 8, 2008.

  1. #1
    Can anyone shed some light as to why any php page shows up as text and not as the properly formatted page? This is on the server end.

    I had some sites restored, and they were working before, then the server drive was replaced and now the pages are all text. These are basic wordpress blogs etc. Using Directadmin, and apache I believe.

    I believe it is a php configuration or apache configuration error, sort of like in IIS where you have to tell the server how to displap php pages.

    My host should take care of it, but I'd like to be able to properly explain the problem.

    thx
     
    basscleff, Apr 8, 2008 IP
  2. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #2
    check if your account has php enabled or not. Try with simple php page likes phpinfo.
    do you have any setting in .htaccess to prevent php running?
     
    gate2vn, Apr 8, 2008 IP
  3. basscleff

    basscleff Active Member

    Messages:
    1,161
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    most likely the simplest answer is the problem :) php enabled setting is likely the cause.

    nothin in .htaccess to disable php.

    thx
     
    basscleff, Apr 8, 2008 IP