Friday, July 13, 2012

Installing PHP 5.4.4 with Ubuntu 12.04

edited /etc/apt/sources.list


deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all
deb http://apt.damz.org/debian squeeze php54


edited /etc/apt/preferences


Package: *
Pin: release a=testing
Pin-Priority: -10



apt-get update

apt-get install php5