Updating PHP 5.2.6 to 5.3.2

lavrentis

New Member
Hi, I want to upgrade my PHP from 5.2.6 to 5.3.2.

I currently have PHP 5.2.6-3ubuntu4.5 with Suhosin-Patch 0.9.6.2.

Now, If I upgrade to 5.3.2, will I have to reconfigure PHP in files such as php.ini

I am quite new to this and I am unsure, is it worth upgrading? Will it break my website?

My servers OS is Ubuntu 9.04 and Apache/2.2.11

Also, would this command work If I did want to upgrade? (If not how would I upgrade)

Code:
sudo apt-get upgrade php php-* mysql-*

Thanks
 
You php.ini file for whatever you are using will need to be set to the full path of the version you want. If you are wanting to change the bash profile for your users to use a certain php version you will need to make an alias in your own ~/.bash_profile or ~/.bashrc.
 
Back
Top