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.

PHP out of date on my box?

Discussion in 'General Discussion' started by fjones, Dec 30, 2006.

  1. fjones

    fjones Member

    Joined:
    Jan 30, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    When I login to the WHM and click on CPanel/WHM news I get a screen that shows that my PHP has a "broken lock". The version listed under "Latest Version" is 5.14/4.42 and my "Installed Version" is 4.3.10.

    I've running on Trustix 2.2. I've manually run the update script multiple times and each times is states that PHP is up to date.

    I'm assuming I should be on 4.4.2 to get rid of the "broken lock". How does one upgrade?

    Front Page also show's a broken lock with my "Installed version" being 5.0.2.2635 and the "Latest Version" being 5.0.2.2635.SR1.2.

    I guess this may prompt a follow up question. Should I jump ship and move to a CentOS 4.4 based box instead of Trustix 2.2? Not too happy with what has been going on with Trustix lately.

    Thanks.

    fj
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    what do you get when you execute the following command in shell as root?

    php -v
     
  3. fjones

    fjones Member

    Joined:
    Jan 30, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    php -v results in:

    PHP 4.3.10 (cgi) (built: Mar 12 2005 19:27:20)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


    Thanks

    fj
     
  4. nvez

    nvez Active Member
    PartnerNOC

    Joined:
    Jul 17, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    That would be a very smart decision. :P

    WHM/cPanel runs mostly on CentOS 4.4 and from my experience, it runs best on CentOS. I suggest you upgrade to CentOS, also, the PHP version there is old (There is 4.4.4 & 5.2.0).

    You might have to compile PHP manually to get the latest version (4.4.4), that is what I had/needed to do.
     
  5. fjones

    fjones Member

    Joined:
    Jan 30, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I was under the impression that running cpanel updates would periodically upgrade things. I'm guessing that I was wrong. If I remember right when I first installed it sucked everything down and complied apache/php, etc. Anyone know the proper procedure for keeping this stuff up to date assuming the upcp script doesn't do it.

    Thanks.

    fj
     
  6. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    You can update Php either manually, or from the WHM >> Software >> Apache Update
    or at the prompt running the following command:
    /scripts/easyapache

    FYI, /scripts/upcp won't update Php.
     
  7. fjones

    fjones Member

    Joined:
    Jan 30, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, the Apache Update brought everything up to date including php 4.4.4. I appreciate the quick responses I got from all of you on this. I now have a bit more time before I jump ship to CentOS 4.4.
     
Loading...

Share This Page