LinuxQuestions.org
Visit Jeremy's Blog.
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 07-16-2008, 06:06 AM   #1
sushant_d84
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Question Upgrade PHP 5.1.6 to PHP 5.2.6 in Fedora core 6


Hi All,

I want to use the class called "COM" ( the microsoft tech). This class is supported in only php5.2.6.

So Just want to upgrade to new version.

I am very new for Linux. So please let me know procedure, which will be safe so that it will not at all affect other services.


I need to get this done urgently so please reply


Thanks and in Advance

Regards
Sushant Danekar
 
Old 07-16-2008, 08:58 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Download the exact version of the package you want and do:
yum localinstall packagename
(package name is the name of the file you downloaded).
Or, if you just want the latest version of a package, do
yum install packagename
It will download and install the latest version of a package (for instance php).
 
Old 07-16-2008, 10:22 AM   #3
sushant_d84
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Package

Hi there,
Thanks for your reply...
I have downloaded the php-5.2.6.tar.gz file.
I have given the command
yum localinstall php-5.2.6
can you please describe me more... Actually I am very new to linux so my questions may be very basic.

Thanks
Sushant Danekar
Techview.biz
 
Old 07-16-2008, 01:08 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Support for FC6 was dropped almost a year ago. I would strongly suggest updating to a supported version. No new official updates are available.

In order to use yum you must get the package in a rpm and not a tar or gz file. If you update to a supported version the newer version of php will probably be available via yum. Otherwise you have to compile it yourself (./configure,make, make install). Be aware that you may or may not have the dependencies required to run the newer php(newer versions usually require newer versions of dependencies).
 
  


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
php comment problem // and /* on Fedora Core 5 and PHP 5.1.4 shakeel_125 Linux - Server 4 09-29-2006 04:42 AM
php comment problem // and /* on Fedora Core 5 and PHP 5.1.4 shakeel_125 Fedora 4 09-29-2006 02:14 AM
How to get php 4.4.2 and php 5.1.4 running on fedora core 5? markg85 Linux - Software 2 06-18-2006 09:23 AM
REQ: guide to upgrade php 5.1.2 to 5.1.3 or a rpm (Fedora Core 5) markg85 Linux - Software 6 05-10-2006 04:19 AM
PHP / VideoLAN / Fedora Core Question - how can I get the PHP "exec" function to work gtrawoger Linux - Software 3 12-21-2005 06:51 AM

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

All times are GMT -5. The time now is 02:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration