Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

(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:
    66
    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:
    51
    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:
    318
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice