Topic: How to Upgrade to PHP 5.2.10 on CentOS5 x64?
Hi,
I'm trying to upgrade my PHP version on a CentOS 5 box but it seems to stop at a warning. Here's what I've done so far:
1. Installed the epel and remi repos per the Repo Config guide posted by remi
2. Copied http://rpms.famillecollet.com/remi-enterprise.repo into /etc/yum.repos.d
3. Output from running yum update is below:
# yum --enablerepo=remi --enablerepo=epel --disablerepo=rpmforge --disableplugin=priorities update php php-pdo php-imap php-xml php-xmlrpc php-gd php-odbc
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* epel: mirrors.rit.edu
* remi: iut-info.univ-reims.fr
* updates: mirrors.greenmountainaccess.net
* base: ftp.lug.udel.edu
* addons: mirror.skiplink.com
* extras: ftp.lug.udel.edu
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
<snip>
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-common x86_64 5.2.10-1.el5.remi remi 269 k
replacing php-json.x86_64 5.1.6_1.2.1-1.aurore
Updating:
php x86_64 5.2.10-1.el5.remi remi 1.3 M
php-cli x86_64 5.2.10-1.el5.remi remi 2.4 M
php-gd x86_64 5.2.10-1.el5.remi remi 126 k
php-imap x86_64 5.2.10-1.el5.remi remi 55 k
php-odbc x86_64 5.2.10-1.el5.remi remi 54 k
php-pdo x86_64 5.2.10-1.el5.remi remi 95 k
php-xml x86_64 5.2.10-1.el5.remi remi 121 k
php-xmlrpc x86_64 5.2.10-1.el5.remi remi 56 k
Installing for dependencies:
libXaw x86_64 1.0.2-8.1 base 329 k
libXmu x86_64 1.0.2-5 base 63 k
sqlite2 x86_64 2.8.17-2.el5.remi remi 166 k
t1lib x86_64 5.1.1-7.el5 epel 208 k
Updating for dependencies:
php-devel x86_64 5.2.10-1.el5.remi remi 582 k
Transaction Summary
=============================================================================
Install 5 Package(s)
Update 9 Package(s)
Remove 0 Package(s)
Total download size: 5.7 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
WARNING : This php-* RPM are not official Fedora build and
overrides the official ones. Don't file bugs on Fedora Project.
Use dedicated forums http://forums.famillecollet.com/
After that warning, I see that php hasn't really updated:
# php -v
PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:18)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Could someone help me figure out what I'm doing wrong?