php7 on Raspbian

From KlavoWiki
Revision as of 10:25, 30 March 2017 by David (talk | contribs) (Created page with " = sources.list = Add the following lines <pre> sudo vi /etc/apt/sources.list </pre> add <pre> deb http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-fr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

sources.list

Add the following lines

sudo vi /etc/apt/sources.list

add

deb http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free
#deb-src http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free


install key

sudo gpg --keyserver pgpkeys.mit.edu --recv-key CCD91D6111A06851
sudo gpg --armor --export CCD91D6111A06851 | sudo apt-key add -


update

sudo apt-get update

Install php7

sudo apt-get install php7.1 php7.1-mysql mariadb-server-10.0