什么是在Debian上将PHP从5.2.0更新到5.2.14的简单方法?

I want to update my version of PHP from 5.2.0 to 5.2.14 (or later, but I don't want to upgrade to 5.3 for compatibilty reasons).

Every guide I find to upgrade PHP is for updating to the last available version, but I dont't find a way to update to a specific version.

The easiest and quickest the solution, the best

I would suggest:

  1. identify php-related packages you installed on the system; packages like php5-cli, php5-cgi, libapache2-php5
  2. Pock around packages.debian.org to see what is the latest available version of php 5.2.
  3. Download these packages manually.
  4. sudo dpkg -i *.deb at the directory you keep the debs
  5. lock the installed version, prevent accidentally upgrade by apt-get upgrade.

There are might be ways to probe versions available using just apt-get, if anyone knows please share.