Created
July 31, 2018 20:09
-
-
Save al-ivanov/7a4ec20eb2b2da1f89a78ec9bcb8de66 to your computer and use it in GitHub Desktop.
Installing php7 on raspberry Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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