Results 1 to 7 of 7

Thread: PHP out of date on my box?

  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    22

    Default PHP out of date on my box?

    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. #2
    Member
    Join Date
    Mar 2006
    Posts
    379

    Default

    what do you get when you execute the following command in shell as root?

    php -v
    Tweakservers | Professional Server Setup & Security Hardening
    Authorised SmarterTools Reseller, SSL Certificate & PRTG Network Monitor

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    22

    Default

    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. #4
    cPanel Partner NOC cPanel Partner NOC Badge nvez's Avatar
    Join Date
    Jul 2006
    Posts
    40

    Default

    Quote Originally Posted by fjones View Post
    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?
    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. #5
    Member
    Join Date
    Jan 2005
    Posts
    22

    Default

    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. #6
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by fjones View Post
    Anyone know the proper procedure for keeping this stuff up to date assuming the upcp script doesn't do it.
    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.
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

  7. #7
    Member
    Join Date
    Jan 2005
    Posts
    22

    Default

    Quote Originally Posted by AndyReed View Post
    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.
    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.

Similar Threads

  1. Counter/Clock/Date Box Generator
    By tyuuu in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-08-2009, 08:58 AM
  2. upgrading php on cpanel box
    By prof in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 05-03-2007, 10:48 AM
  3. PHP Date Problem
    By warrence in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-27-2005, 09:32 PM
  4. PHP Update not working ( PHP version file is up to date )
    By ezztro in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 08-29-2005, 12:09 PM
  5. Php Showing download box
    By nauman in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-20-2005, 09:12 AM