Enable php in cpanel 10 (new server)

Discussion in 'Site & Server Administration' started by ASTRAPI, Jul 7, 2008.

  1. #1
    Hi

    I just get a new vps server (with cpanel 10)and always i give my domain and i was get it ready to use.

    Thais time i get it from the begining.

    So i set it up on my domain and i set up my name servers and it was all ok.

    After that i upload a php script there (it was ok before in the old server) and i try to use it but it doesn't work and the server is trying to download it and not to disply it.

    Any help please?

    I think i need to enable somewhere the php or something ...

    Thanks
     
    ASTRAPI, Jul 7, 2008 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I believe you can rebuild apache with you desired php version and build in "Apache Update" in WHM.
     
    Camay123, Jul 7, 2008 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    Yes, as mentioned by Camay123, you will need to compile Apache with PHP. Also if possible then upgrade cPanel version to cPanel 11 as it is latest version. cPanel 10 is outdated version.
     
    kailash, Jul 7, 2008 IP
  4. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4

    How can i do it ?
     
    ASTRAPI, Jul 8, 2008 IP
  5. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Like I said. Use "Apache Update"
     
    Camay123, Jul 8, 2008 IP
  6. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I would first update your cpanel to the release version and then update apache and php
     
    IwhiC, Jul 9, 2008 IP