Php – Upgrade php 5.2 to php 5.3 on debian etch

debian-etchPHPphp5

I have a vps server that is in production currently.
I need to upgrade my current php 5.2 to php 5.3.

I have found the repositories here http://www.dotdeb.org

My question is how do I upgrade, keeping my current configuration?

Best Answer

You need only to add the repositories from dotdeb on the /etc/apt/sources.list file. Then use aptitude to reload the sources and check the php packages you have.

If the packages are correctly done, you should not lose any config, since configuration files are not overwritten during updates: if there's a conflict dpkg will ask what to do and you can choose to override or just save the new version with a different extension.

After that, just check the README.Debian on /usr/share/doc/ package documentation to see if there's anything else to complete the upgrade.

Related Topic