dotdeb


Install PHP 5.6 on Debian Wheezy

To install PHP 5.6 on Wheezy, you can add this repo: echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list Add the key: wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add – And install PHP: apt-get update apt-get install php5-cli php5-fpm ….. (or whatever package you might need)  


Install PHP 5.5 on Debian Wheezy

To install PHP 5.5 on Wheezy, you can add this repo: echo "deb http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list Add the key: wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add – And install PHP: apt-get update apt-get install php5-cli php5-fpm ….. (or whatever package you might need)  


Installing php5-fpm on Debian

First of all, we get the server key: cd /tmp wget http://www.dotdeb.org/dotdeb.gpg cat dotdeb.gpg | apt-key add – Then we update the sources.list file so apt will find the packages: echo "deb http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list echo "deb-src http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list Or for Debian Wheezy: echo "deb http://packages.dotdeb.org wheezy all" >> /etc/apt/sources.list echo […]