From 7070e33b951eb2031fae7e0013ab3d2bc80d1b48 Mon Sep 17 00:00:00 2001 From: unculture Date: Wed, 23 Jan 2013 22:07:22 +0000 Subject: [PATCH] Adding some instructions about downgrading PHP to 5.2 on Ubuntu 12.10 --- php5.2/karmic_1.list | 53 ++++++++++++++++++++++++++++++++++++++++ php5.2/php | 57 ++++++++++++++++++++++++++++++++++++++++++++ php5.2/readme.txt | 6 +++++ 3 files changed, 116 insertions(+) create mode 100644 php5.2/karmic_1.list create mode 100644 php5.2/php create mode 100644 php5.2/readme.txt diff --git a/php5.2/karmic_1.list b/php5.2/karmic_1.list new file mode 100644 index 0000000..8bc988b --- /dev/null +++ b/php5.2/karmic_1.list @@ -0,0 +1,53 @@ +# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)]/ karmic main restricted +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. + +deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted +deb-src http://old-releases.ubuntu.com/ubuntu/ karmic main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted +deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://old-releases.ubuntu.com/ubuntu/ karmic universe +deb-src http://old-releases.ubuntu.com/ubuntu/ karmic universe +deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates universe +deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://old-releases.ubuntu.com/ubuntu/ karmic multiverse +deb-src http://old-releases.ubuntu.com/ubuntu/ karmic multiverse +deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates multiverse +deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-updates multiverse + +## Uncomment the following two lines to add software from the 'backports' +## repository. +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +# deb http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse +# deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu karmic partner +# deb-src http://archive.canonical.com/ubuntu karmic partner + +deb http://old-releases.ubuntu.com/ubuntu karmic-security main restricted +deb-src http://old-releases.ubuntu.com/ubuntu karmic-security main restricted +deb http://old-releases.ubuntu.com/ubuntu karmic-security universe +deb-src http://old-releases.ubuntu.com/ubuntu karmic-security universe +deb http://old-releases.ubuntu.com/ubuntu karmic-security multiverse +deb-src http://old-releases.ubuntu.com/ubuntu karmic-security multiverse diff --git a/php5.2/php b/php5.2/php new file mode 100644 index 0000000..5ad2ac3 --- /dev/null +++ b/php5.2/php @@ -0,0 +1,57 @@ +Package: php5 +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-gd +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-common +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-curl +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-mysql +Pin: release a=karmic +Pin-Priority: 991 + + +Package: php5-pear +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-xsl +Pin: release a=karmic +Pin-Priority: 991 + + +Package: php-pear +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-cli +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-memcache +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-pgsql +Pin: release a=karmic +Pin-Priority: 991 + +Package: php-apc +Pin: release a=karmic +Pin-Priority: 991 + +Package: php5-xmlrpc +Pin: release a=karmic +Pin-Priority: 991 + +Package: libapache2-mod-php5 +Pin: release a=karmic +Pin-Priority: 991 diff --git a/php5.2/readme.txt b/php5.2/readme.txt new file mode 100644 index 0000000..7bcc3fa --- /dev/null +++ b/php5.2/readme.txt @@ -0,0 +1,6 @@ +From http://randyfay.com/content/php-52-ubuntu-1004-lucid-lynx-seems-work-1204-too + +Seems to work in 12.10. + +Put php in /etc/apt/preferences.d +Put karmic.list in /etc/apt/sources.d