0

I want to use ondrej ppa to upgrade php version in ubuntu server. Do I need internet connection to run this command?

  sudo apt-get install python-software-properties
  sudo add-apt-repository ppa:ondrej/php
  sudo apt-get update
  sudo apt-get install -y php7.1

I had tried and produce error of ondrej/ubuntu/php, ondrej user or team does not exist.

Thank you

joun
  • 153

1 Answers1

3

An internet connection is required when adding a PPA so the key file can be downloaded, then installed. Then the PPA is activated. After the PPA is active, you can download and install the PHP version you want.

Hope this helps!

Starbuck
  • 1,003
  • 8
  • 21
Terrance
  • 41,612
  • 7
  • 124
  • 183