LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-29-2013, 06:12 AM   #1
gopkris2000
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 0
Upgrade php version 5.3.2 to 5.3.5


Any one have idea about how to upgrade php version 5.3.2 to 5.3.5 in ubuntu server?

apt-get install php5 command will upgrade latest php 4 version?
 
Old 06-30-2013, 03:58 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
You can always download and compile the module yourself but depending on the extensions you need it will take a while to get everything running. (I don't know a command that lets you upgrade to a specific version via apt-get.) But maybe someoneelse knows better.

cheers, j
 
Old 06-30-2013, 07:52 AM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
It appears you are using Ubuntu 10.04? This release offers stable, well-tested software from April (.04) 2010 (10.).

If you want newer software then you need to go outside the Ubuntu repositories and download/install PHP from another source as j-ray suggests. Or you can upgrade to a newer Ubuntu release, which will upgrade all of your packages at once to newer versions. For example if you go to 12.04 you will get stable software from April (.04) 2012 (12.) such as PHP 5.3.10.

Is there a reason you specifically need 5.3.5? 5.3.5 was superceded in March 2011 by 5.3.6 which offered "over 60 bug fixes, some of which are security related." The latest PHP version is 5.5.0 and the current 5.3.x is 5.3.26.

Also keep in mind that the PHP 5.3.2 in the Ubuntu 10.04 repositories is not actually 5.3.2; rather, Ubuntu developers have been "backporting" security patches and bug fixes from newer PHP releases over the past 3 years. If you bypass the Ubuntu repos and manually install a different PHP then you will not get the benefit of this support from Ubuntu security team. You can read the changelog here: http://changelogs.ubuntu.com/changel...4.19/changelog
 
1 members found this post helpful.
Old 07-03-2013, 07:28 AM   #4
gopkris2000
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for your valuable update... I have been using drupal with 5.3.2 and have some email sending issues with php.. When I use drush command to update new username for drupal, it should ask to upgrade php atleast 5.3.5. So that I was tried...

Anyway, I have fixed email sending problem.


Quote:
Originally Posted by snowpine View Post
It appears you are using Ubuntu 10.04? This release offers stable, well-tested software from April (.04) 2010 (10.).

If you want newer software then you need to go outside the Ubuntu repositories and download/install PHP from another source as j-ray suggests. Or you can upgrade to a newer Ubuntu release, which will upgrade all of your packages at once to newer versions. For example if you go to 12.04 you will get stable software from April (.04) 2012 (12.) such as PHP 5.3.10.

Is there a reason you specifically need 5.3.5? 5.3.5 was superceded in March 2011 by 5.3.6 which offered "over 60 bug fixes, some of which are security related." The latest PHP version is 5.5.0 and the current 5.3.x is 5.3.26.

Also keep in mind that the PHP 5.3.2 in the Ubuntu 10.04 repositories is not actually 5.3.2; rather, Ubuntu developers have been "backporting" security patches and bug fixes from newer PHP releases over the past 3 years. If you bypass the Ubuntu repos and manually install a different PHP then you will not get the benefit of this support from Ubuntu security team. You can read the changelog here: http://changelogs.ubuntu.com/changel...4.19/changelog
 
  


Reply



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
How to upgrade php from version 5.1.6 to version 5.3.6 on Centos Manpasand Linux - Server 2 08-09-2011 01:54 AM
How to upgrade php from version 5.2.10 to version 5.3.3 on Centos ashlule1 Linux - Newbie 3 10-18-2010 02:55 AM
Upgrade from PHP Version 4.3.9 to PHP 5.2 on CentOS nuttynibbles Linux - Software 10 06-15-2010 02:35 PM
PHP Upgrade - still at the old version Seventh Linux - Newbie 1 12-21-2004 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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