LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 01-23-2013, 06:22 PM   #1
Marcelo_Ramone
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
upgrade php to 5.2 on centos 5


Hello,

I'M triyng to upgrade php 5.1 to 5.2 on centos 5.

I enabled the centos-testing repo: http://wiki.centos.org/HowTos/PHP_5.1_To_5.2

But yum can't find any package to upgrade...

Code:
rpm -qa |grep php
php-mbstring-5.1.6-39.el5_8
php-common-5.1.6-39.el5_8
php-xml-5.1.6-39.el5_8
php-xmlrpc-5.1.6-39.el5_8
php-pear-1.4.9-8.el5
php-cli-5.1.6-39.el5_8
php-pdo-5.1.6-39.el5_8
php-soap-5.1.6-39.el5_8
php-gd-5.1.6-39.el5_8
php-mysql-5.1.6-39.el5_8
php-5.1.6-39.el5_8
php-mcrypt-5.1.6-15.el5.centos.1
php-devel-5.1.6-39.el5_8
Code:
yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.serveraxis.net
 * extras: mirror.ubiquityservers.com
 * updates: mirror.nexcess.net
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Update Process
No Packages marked for Update
Code:
yum update php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.serveraxis.net
 * extras: mirror.ubiquityservers.com
 * updates: mirror.nexcess.net
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Update Process
No Packages marked for Update
Code:
cat /etc/yum.repos.d/CentOS-Testing.repo 
#CentOS-Testing:
#!!!! CAUTION !!!!
#This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
#They may or may not replace core CentOS packages, and are not guaranteed to function properly.
#These packages build and install, but are waiting for feedback from testers as to
#functionality and stability. Packages in this repository will come and go during the
#development period, so it should not be left enabled or used on production systems without due
#consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*
Any help please?
 
Old 01-24-2013, 09:29 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
If you browse that repository you'll see that there are no php-* packages present, any reason you can't move to CentOS 6 ?
 
Old 01-25-2013, 10:52 AM   #3
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,624
Blog Entries: 1

Rep: Reputation: Disabled
Upgrade PHP 5.1/5.2 to 5.3 on CentOS

Code:
sudo yum repolist
yum info php5
are 2 great starts.

CentOS "5" what?
Code:
5.0     i386, x86-64     5.0     2.6.18-8     2007-04-12[31]     2007-03-14[32]     28d
5.1     i386, x86-64     5.1     2.6.18-53     2007-12-02[33]     2007-11-07[34]     25d
5.2     i386, x86-64     5.2     2.6.18-92     2008-06-24[35]     2008-05-21[36]     34d
5.3     i386, x86-64     5.3     2.6.18-128     2009-03-31[37]     2009-01-20[38]     69d
5.4     i386, x86-64     5.4     2.6.18-164     2009-10-21[39]     2009-09-02[40]     49d
5.5     i386, x86-64     5.5     2.6.18-194     2010-05-14[41]     2010-03-31[42]     44d
5.6     i386, x86-64     5.6     2.6.18-238     2011-04-08[43]     2011-01-13[44]     85d
5.7     i386, x86-64     5.7     2.6.18-274     2011-09-13[45]     2011-07-21[46]     54d
5.8     i386, x86-64     5.8     2.6.18-308     2012-03-07[47]     2012-02-21[48]     15d
5.9     i386, x86-64     5.9     2.6.18-348     2013-01-17[49]     2013-01-07[50]     10d
 
Old 01-27-2013, 02:31 PM   #4
Marcelo_Ramone
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
The websites works only with php 5.2.

I finally upgraded with this repository: http://www.jasonlitka.com/yum-repository/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to upgrade PHP via yum on CentOS fails. nakins Linux - Newbie 7 05-16-2011 10:04 PM
CentOS 5.5 x64 PHP Upgrade yoachan Linux - Server 3 02-10-2011 12:03 PM
How to upgrade php from version 5.2.10 to version 5.3.3 on Centos ashlule1 Linux - Newbie 3 10-18-2010 03:55 AM
Upgrade from PHP Version 4.3.9 to PHP 5.2 on CentOS nuttynibbles Linux - Software 10 06-15-2010 03:35 PM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration