LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-27-2010, 06:59 AM   #1
simonutd
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Fedora Core 6 updating PHP 5.2


Hello everyone,

Im here because 1and1 are useless,

I have a dedicated server with them that i took a 2 year contract out, i want to install the new version of VB which requires PHP 5.2, i only have 5.1.6 . I have looked for an update but they dotn do them for Fedora 6 as of over 2 years ago, which is really annoying that i got given a server with an out dated OS.

I have updated to Plesk 9.3 from Plesk 8, and that updated the 4.* i had to 5.1.6,

Can anyone help me with updating the server to PHP 5.2, i would really appreciate it, i am a complete Newbie with this. I have search the forums but couldnt find anything.

Cheers Simon
 
Old 02-27-2010, 07:48 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
You should make sure that Plesk can handle php 5.2 or you will break plesk.
You can compile php 5.2 from source , if you need to keep php 5.1 for plesk make sure that php 5.2 puts its php.ini file in a separate place.
See the configure options for php.
Run
Code:
./configure --help
From the directory you are compiling in.

http://uk.php.net/manual/en/install.unix.apache2.php



I suggest getting away from 1and1 ASAP.
 
Old 02-27-2010, 07:54 AM   #3
simonutd
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks you, i shall try this, but worried, but will do a full back up first, i checked plesk and it is ok with php 5.2
 
Old 02-27-2010, 08:12 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Welcome to LQ.

Like the Fedora 6 based RHEL 5, CentOS 5.4, you can just
rebuild an SRC.RPM source package : 1) php-5.2.6
http://archives.fedoraproject.org/pu....2.6-5.src.rpm
> > php-5.2.6-5.src.rpm

.. Or 2) php-5.3.0
http://www.linuxquestions.org/questi...-5.0-764323/#3
> > php-5.3.0-6.fc12.src.rpm

The command : rpm rpm --rebuild <package>.src.rpm

Setting up an unprivileged rpmbuild account in /home/<user>/ :
http://www.linuxquestions.org/questi...6/highlight#13
.....
Good luck .. .. .. ..
.....

Last edited by knudfl; 04-07-2010 at 01:19 AM.
 
Old 03-01-2010, 01:32 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,675

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
"Remi packages"

http://rpms.famillecollet.com/enterp...oview/php.html

php-5.3.0-2.el5.remi.2.i386
php-5.3.1-1.el5.remi.i386
.....
 
  


Reply

Tags
php, php5


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
Updating Fedora 7 with PHP 5.2.8 Blade13 Fedora 2 01-22-2009 05:26 PM
Updating my Fedora Core I box wjleon Linux - Distributions 1 12-30-2005 03:52 AM
Updating Fedora Core 3 kernel odiseo77 Fedora 7 03-28-2005 06:58 AM
Updating Fedora Core 3 Doug.Gentry Fedora 4 12-23-2004 11:46 PM
Updating Fedora Core 2 Alf829 Linux - Software 4 09-08-2004 07:59 AM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
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