Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a big problem with my sites after I migrated to a new server.
The only difference is the php version. On the old server I have 5.3.3-7+squeeze15 and on the new server there is 5.3.3-7+squeeze17.

Can I downgrade to the older version? If so then how?

The distro I'm using is Debian Squeeze 6.0.8.

share|improve this question
BTW, do not crosspost! Debian: downgrade php version – Braiam Dec 3 '13 at 12:04
You can generally get older versions from snapshot.debian.org. – Faheem Mitha Dec 3 '13 at 13:10

Remove existing PHP and then re-install PHP version of choice as below:

apt-get install pkg_name=version

Also, You can list available version as :

apt-cache showpkg pkg_name
share|improve this answer
Does this really work? Old versions of packages are available? How can remote available versions be listed (I'm often storage constrained and then forced to clean the package cache)? – uprego Dec 3 '13 at 12:10
@uprego Old versions of packages are available from snapshot.debian.org. – Faheem Mitha Dec 3 '13 at 13:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.