LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2010, 05:35 AM   #1
hakeem777
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
php upgrade to 5.2.13


Hi,

I am running php ver 5.1.6 under centos 5.4 in i386 server. However this server cannot connect to internet and therefore I cannot use yum command to do the update. I have downloaded "php-5.2.13-rpm.tar.bz2" somewhere and I untarred the file. Please let me know what are the steps to do the upgrade. Thanks a lot.

Regards,
 
Old 05-02-2010, 06:25 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Code:
yum localupdate php-5.2.13-rpm
man yum

but that should surely be .rpm not -rpm

Last edited by smoker; 05-02-2010 at 06:26 AM.
 
Old 05-02-2010, 06:53 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,705

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
These packages can be used in CentOS 5.x

The CentOS 5.4 update php-5.1.6-24.el5_4.5.i386.rpm is here
http://mirror.centos.org/centos/5.4/updates/i386/RPMS/

php-5.2.11-jason.1.i386.rpm , Jasonlitka repo:
http://www.jasonlitka.com/media/EL5/i386/

php-5.3.2-1.el5.remi.i386, php-5.3.1-1.el5.remi.i386, Remi repo:
http://rpms.famillecollet.com/enterp...oview/php.html

The install command is : # rpm -Uvh <package>.rpm
..
 
  


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
Upgrade PHP 5.1.6 to PHP 5.2.6 in Fedora core 6 sushant_d84 Linux - Newbie 3 07-16-2008 01:08 PM
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 07:17 AM
PHP upgrade from v. 4.0.4 to v. 5 sergiodlc SUSE / openSUSE 3 01-31-2006 03:22 AM
PHP upgrade Damiand Linux - Newbie 0 06-07-2004 06:31 PM
Upgrade php 4.2.x to 4.3.x buzzbuzz Linux - Newbie 0 10-30-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration