Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 05, 2009 2:28 am 
Offline
Junior Member
User avatar

Joined: Thu Sep 03, 2009 10:47 pm
Posts: 35
Website: http://www.kavoir.com/
I notice that with aptitude install, the version I have on my linode 360 is 5.2.6+lenny1.

How can I update it to the latest version? Thanks!

_________________
I have a passion for building websites. I love Usable Databases.


Top
   
 Post subject:
PostPosted: Sat Sep 05, 2009 5:45 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
The latest stable version from the Debian package team is 5.2.6-lenny3, so to get a PHP newer than that, you'll have to move into testing, unstable or experimental territory.
http://packages.debian.org/search?keywo ... ection=all

Just edit your sources.list and replace the word "stable" with "testing", which is the development stage right before "stable".


Top
   
 Post subject:
PostPosted: Sat Sep 05, 2009 10:51 am 
Offline
Junior Member

Joined: Tue Apr 27, 2004 11:46 pm
Posts: 30
Keep in mind, there's a reason PHP is only 5.2.6 in Debian right now.

They're testing 5.3. While it may have no problems or bugs, it isn't certified stable yet.

That's one reason to pick Debian. They're very slow to introduce new versions of software. Everything gets tested and is ensured to be stable.

If there's no need to use a new feature from php 5.3, I'd just stick with the version Debian provides.


Top
   
 Post subject:
PostPosted: Sun Sep 06, 2009 2:20 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
NeonNero wrote:
Just edit your sources.list and replace the word "stable" with "testing", which is the development stage right before "stable".


You don't want to just jump your whole server to testing or unstable. Use apt-pinning and /etc/apt/preferences to handle testing and unstable packages without upgrading every package on the server; then just apt-get -t testing install php5.3

_________________
If it ain't broke, you didn't tweak it enough. If it is broke, use more duct tape.
http://independentchaos.com


Top
   
 Post subject:
PostPosted: Sun Sep 06, 2009 8:39 am 
Offline
Junior Member
User avatar

Joined: Thu Sep 03, 2009 10:47 pm
Posts: 35
Website: http://www.kavoir.com/
Thanks you all! That's absolutely a good lesson!

I'll keep your wise words in mind! :)

_________________
I have a passion for building websites. I love Usable Databases.


Top
   
 Post subject:
PostPosted: Sun Sep 06, 2009 1:55 pm 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
Package pinning is a whole cluster in itself.


Top
   
 Post subject:
PostPosted: Mon Sep 07, 2009 10:12 am 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
You have a pressing need for goto or something?

~JW


Top
   
 Post subject:
PostPosted: Mon Sep 07, 2009 10:33 am 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
Persistent mysqli connections using the new native mysql library


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group