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!

Is there an easy way to allow customers to choose PHP version?

Discussion in 'General Discussion' started by electric, Dec 18, 2012.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    731
    Likes Received:
    3
    Trophy Points:
    318
    Hello,

    We're still using PHP 5.2.x on our shared servers, since there are still so many people who have incompatible scripts with PHP 5.3 or higher.

    However, we have more and more customers who are asking for PHP 5.3 and PHP 5.4.

    I know CloudLinux has the "PHP Selector" utility, but we do not want to use cloudlinux for these servers.

    I have seen some web hosts who have a "choose PHP version" icon in their cpanel, and I am wondering how they do that. As far as I can see, this is not a built-in utility in cpanel. Is it a plugin?

    Otherwise.. what is the best (easiest) way to set things up so customers can easily select their desired PHP version?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    731
    Likes Received:
    3
    Trophy Points:
    318
    Anyone have any ideas?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hgrg

    hgrg Well-Known Member

    Joined:
    Oct 4, 2010
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    i guess they use a cgi wrapper and they change the php handler for the user via a custom script
     
  4. PlotHost

    PlotHost Well-Known Member

    Joined:
    Apr 29, 2011
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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