fjones

Member
Jan 30, 2005
21
0
151
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
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
what do you get when you execute the following command in shell as root?

php -v
 

fjones

Member
Jan 30, 2005
21
0
151
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
 

nvez

Active Member
PartnerNOC
Jul 17, 2006
40
0
156
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.
 

fjones

Member
Jan 30, 2005
21
0
151
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
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
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.
 

fjones

Member
Jan 30, 2005
21
0
151
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.