installing php 7 on 14.04 - Cannot add PPA: 'ppa:ondrej/php-7.0'

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 7
Joined: Mon Oct 30, 2017 6:10 am

Sat Nov 02, 2019 5:24 am

Hi all,
I'm trying to install php 7 on 14.04, but can't add ppa.

Code: Select all

$ sudo add-apt-repository ppa:ondrej/php-7.0
Cannot add PPA: 'ppa:ondrej/php-7.0'.
Please check that the PPA name or format is correct.
Please advise.
User avatar
php-forum GURU
php-forum GURU
Posts: 1222
Joined: Mon Feb 22, 2016 5:52 pm

Sat Nov 02, 2019 10:54 am


Code: Select all

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0
I would advise upgrading to 18.04 which is the latest LTS, then just:

Code: Select all

sudo apt install php
Post Reply