PHP Upgrade on RHL
I am planning to upgrade our current PHP 5.1.6 (cli) Version to PHP 5.2.4 or later on a RHL (2.6.18-53.el5).
Can I upgrade php by just doing: # yum update php ?
ADDITIONAL INFORMATION
$ uname -a
Linux 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux
$ php -v
PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:10)
$ rpm -qa | grep php
php-common-5.1.6-23.2.el5_3
php-gd-5.1.6-23.2.el5_3
php-mbstring-5.1.6-23.2.el5_3
php-mysql-5.1.6-23.2.el5_3
php-ldap-5.1.6-23.2.el5_3
php-bcmath-5.1.6-23.2.el5_3
php-pdo-5.1.6-23.2.el5_3
php-cli-5.1.6-23.2.el5_3
php-xmlrpc-5.1.6-23.2.el5_3
php-ncurses-5.1.6-23.2.el5_3
php-5.1.6-23.2.el5_3
php-xml-5.1.6-23.2.el5_3
I am a bit cautious since it's a live server and I've never done a PHP Upgrade. If something goes wrong, I wouldn't know how to roll it back if things do not work as expected.
Thank you.
C
>>>>>>> POST UPDATE <<<<<<<
I ran the command and these are the results (doesn't see any updates):
$ sudo yum update php
Loaded plugins: rhnplugin, security
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
$ php -v
PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:10)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Last edited by ceci2; 12-18-2009 at 01:52 PM.
Reason: forgot to add important item.
|