Skip to content

Instantly share code, notes, and snippets.

@al-ivanov
Created July 31, 2018 20:09
Show Gist options
  • Select an option

  • Save al-ivanov/7a4ec20eb2b2da1f89a78ec9bcb8de66 to your computer and use it in GitHub Desktop.

Select an option

Save al-ivanov/7a4ec20eb2b2da1f89a78ec9bcb8de66 to your computer and use it in GitHub Desktop.
Installing php7 on raspberry Pi
sudo apt-get update && sudo apt-get upgrade
echo "deb http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free" >> /etc/apt/sources.list
echo "#deb-src http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free" >> /etc/apt/sources.list
sudo gpg --keyserver pgpkeys.mit.edu --recv-key CCD91D6111A06851
sudo su
gpg --armor --export CCD91D6111A06851 | apt-key add -
exit
sudo apt-get remove php5*
sudo apt-get update
sudo apt-get install php7.0 php7.0-opcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment