Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    14

    Default Allow user to select between PHP 4 and 5 in Cpanel

    Hi guys,

    I've read several post in the forums discussing how to build a setup able of running both PHP 4 and 5. However, isn't it time that for the Cpanel guys to build this kind of support into Cpanel, for instance by allowing the user to select between version 4 and 5 in Cpanel?

    AFAIK, something similar was done with v. 3 and 4 back in the day.


    Sincerely,

    Eirik Johansen

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I'm not aware of any such facility in the past. The problem lies squarely with php, not cPanel, because the php developers cannot be bothered to make their language backwards compatible, which is a real sin in the coding world. Beause of that, you have to make the decision to go with one or the other, or go for one of the hacks around, which I would hope would never be a supported solution since it's hacking something that should never have been necessary.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    14

    Default

    I'm well aware of this. However, now that the damage is already done (by php), I think it would be better to try to adapt instead of trying to explain to our clients that "it's the php developers' fault".

    Sincerely,

    Eirik Johansen

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Sorry, but I fail to see how it can be anyones but the php developers fault. You only have to look at perl to see how a language (or practically any other programming language) should be developed in a modular manner with full backwards compatibility. The fact that php developers cannot be bothered (never mind not bothering to implement a security model needed for a shared hosting environment) makes them the only villains in the story.

    Be that as it may, I do take your point that we as hosts and end users are lumbered with the developers shortcomings, but to me it really means explaining these facts to clients and informing them that the issue is with the porrly written and maintained language and its inability to properly integrate into a shared web hosting environment rather than anything that you've done. So, either stick with v4 or go to v5 and accept that they may have problems that cannot be resolved without recoding.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Nov 2001
    Posts
    455

    Default

    Or offer both php4 and php5 hosting.

    ie: I suspect the "solution" most hosts will eventually have is to start selling new accounts on servers with php5... If a customer wants to upgrade to php5, then they just get moved to the new server. If they want php4, then they signup on a php4 server.

    Clunky, but I can see no other "way" to satisfy both sets of users who demand both php4 and php5.
    I am an eNom ETP.
    Sign up today if you want an eNom.com domain reseller account from a reliable provider.
    * We now provide support and service to over 3250 happy resellers!

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by electric
    Or offer both php4 and php5 hosting.

    ie: I suspect the "solution" most hosts will eventually have is to start selling new accounts on servers with php5... If a customer wants to upgrade to php5, then they just get moved to the new server. If they want php4, then they signup on a php4 server.

    Clunky, but I can see no other "way" to satisfy both sets of users who demand both php4 and php5.
    That actually makes more sense to me if you need to chase those customers that are demanding one or the other.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. cpbackup User Select
    By Solokron in forum Data Protection
    Replies: 5
    Last Post: 06-04-2009, 12:43 AM
  2. give ads to select users or under a select user
    By kistler in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-28-2006, 07:00 AM
  3. how user select lang. in cpanel ?
    By 4I1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-10-2004, 08:39 PM
  4. how user select lang. in cpanel ?
    By 4I1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-10-2004, 01:58 PM
  5. Select or Not Select PHP SueExec Support, that's the question...
    By Hueznar in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-12-2004, 10:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube