If you would like to install PHP 5.6 and prefer using the package manager like me, the following steps below will enable you to install PHP 5.6 from the Dot Deb repositories.
#!/bin/bash # download the GPG key of the repository and add it to apt: wget http://www.dotdeb.org/dotdeb.gpg -O /tmp/dot-deb.gpg # add downloaded key to apt apt-key add /tmp/dot-deb.gpg # create apt sources file for DotDeb repo echo -e "deb http://packages.dotdeb.org wheezy-php56 all\ndeb-src http://packages.dotdeb.org wheezy-php56 all" > /etc/apt/sources.list.d/dotdeb.sources.list # update apt & upgrade packages apt-get update && apt-get install php5
Thanks 🙂
This was the only advice I could find on upgrading my Wheezy – and worked just fine
Glad to help!
Extremely helpful bash script. I had a VPS running turnkey linux with Debian wheezing, and this is the only thing I could find that really worked!