Skip to content

Instantly share code, notes, and snippets.

@ehowardtillit
Created October 29, 2014 17:23
Show Gist options
  • Save ehowardtillit/4abb28111785942a4668 to your computer and use it in GitHub Desktop.
Save ehowardtillit/4abb28111785942a4668 to your computer and use it in GitHub Desktop.
Backport Dotdeb's PHP 5.2.17 to wheezy
# Minimal stuff
apt-get update
apt-get -y install curl apache2-mpm-prefork vim less htop iotop
# Temp folder to store it all
mkdir /tmp/php5217 && cd /tmp/php5217
# Get Dependencies
wget -r -np -nH -nd -R index.html http://archives.dotdeb.org/dists/lenny/php5/5.2.17/binary-amd64/
wget -r -np -nH -nd -R index.html http://archives.dotdeb.org/dists/lenny/php5-pecl/5.2.17/binary-amd64/
wget http://archive.debian.org/debian/pool/main/m/mysql-dfsg-5.0/libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb
wget http://archive.debian.org/debian/pool/main/libt/libtool/libltdl3_1.5.22-4+etch1_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment