php display code instead of excute

Discussion in 'Installation/Configuration' started by aaa999, Dec 5, 2007.

  1. aaa999

    aaa999 New Member

    hi,

    I'm dune here.
    after all the setup: perfect setup centos 5 and harden php how to .
    I may screw up some where, when try to run this <?php phpinfo(); ?> in a info.php the server dispaly the code instead give me something else.

    directions and guidens apreciated. new to linux, I like it but learning.

    TIA.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please undo the part from the "Perfect Setup" where PHP gets disabled.
     
  3. aaa999

    aaa999 New Member

    Thanks Falko,

    I was able to get it going, need to uncomment the 2 lines, handler.

    thanks again.
     
  4. agunet

    agunet New Member

    What does "percfetc setup" means ?
     
  5. edge

    edge Active Member Moderator

    He is referring to the "perfect setup howto" for the CentOS 5.0a install.

    All the "perfect setup's" can be found in the Howtos section.
    The The Perfect Setup - CentOS 5.0 can be found here.
     
    Last edited: Dec 15, 2007
  6. Morons

    Morons Member

    I have found that If you do not enable php initially when creating the web - and rather try and enable it long after - the ISPConfig code to change the Vhosts_ispconfig.conf does not work perfectly.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    I've never had any problems with this. Are you using the latest version?
     

Share This Page