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.

(phpsuexec)how can i run php5?

Discussion in 'General Discussion' started by meeti, Mar 30, 2008.

  1. meeti

    meeti Well-Known Member

    Joined:
    Dec 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    i have a server run with phpsuexec and php4 default,

    i want to let certain account run with php5,

    it looks likely i can add a php.ini in the account,

    but i am not sure how can i solve it,

    can anyone help me?



    thanks
     
  2. peacemaker

    peacemaker Member

    Joined:
    Nov 29, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi Meeti,

    First of all you need to have php5 installed in your server! :)
    you could add php5 handlers in .htaccess file in the folder where your php file resides.
    eg : AddHandler application/x-http-php5 .php .php5 .php4

    Let me know if you want the steps to install php5 in a different location.

    regards
     
  3. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
Loading...

Share This Page