Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer 1

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)? –  galegosimpatico 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
add comment

Your Answer

 
discard

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.