getButterfly Logo getButterfly code wrangling since 2005

Login as root and enter the following commands:

echo "deb wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list
echo "deb-src wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list
apt-key add dotdeb.gpg
apt-get install php-pear php5-cgi php5-cli php5-common php5-curl php5-dev php5-fpm php5-gd php5-imagick php5-mcrypt php5-memcache php5-mysqlnd php5-redis

Don’t forget to keep your existing php.ini files.

Featured image credit: @Lachlan Hardy

Subscribe to getButterfly Blog

Once a week or so we send an email with our best content. We never bug you, we just send you our latest piece of content.

If you found any value in this post, agree, disagree, or have anything to add - please do. I use comments as my #1 signal for what to write about. Read our comment policy before commenting! Comments such as "Thank you!", "Awesome!", "You're the man!" are either marked as spam or stripped from URL.

Leave a reply