Debian : installation de PHP 5.3 sous Wheezy

Boris HUISGEN
Boris HUISGEN
|
root@amazon ~ # cat /etc/apt/sources.list

deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free

root@amazon ~ # cat /etc/apt/preferences.d/preferences
Package: php5*
Pin: release a=oldstable
Pin-Priority: 700

Package: libapache2-mod-php5
Pin: release a=oldstable
Pin-Priority: 700

Package: php-pear
Pin: release a=oldstable
Pin-Priority: 700

Package: php-apc
Pin: release a=oldstable
Pin-Priority: 700

Package: *
Pin: release a=stable
Pin-Priority: 600

root@amazon ~ # apt-get update
root@amazon ~ # apt-get install libapache2-mod-php5 php5-cli php5-curl php5-dev php5-gd php5-mcrypt php5-mysql
Boris HUISGEN
Boris HUISGEN
Blog owner
  • #apache
  • #debian
  • #php