Home > Linux Tutorials > Downgrading PHP in Ubuntu 10.04

Downgrading PHP in Ubuntu 10.04

June 22nd, 2010
  1. Install Apache, Mysql, PostgreSQL as normal.
  2. Add Karmic repositories in the apt sources file.
  3. Load Synaptic and refresh the list.
  4. Find the php common package and from the package menu, click Force Version.
  5. Choose the Karmic package and press OK.
  6. Install the package.
  7. Lock the package.

Repeat these steps for the other PHP modules and related files.  I had to do them one at a time, closing Synaptic in between installation due to “broken package” errors.

NOTE: Running apt-get upgrade will ignore your locked packages, make sure you “pin” them in apt as well, or symlink the /etc/apt/preferences to /var/lib/synaptic/preferences (see related post)

admin Linux Tutorials

Comments are closed.