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.


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
  • 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)? – john 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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