Help update PHP from 7.0 to 7.1

Hello,

Can someone help me? I’d like to update my PHP version from 7.0 to 7.1 and i dont know how to do it the correct way so it doesn’t cause issues with Nextcloud. I’m running NC 13.0.1

you need to provide more info … for example which linux distribution are you using … etc

I’m Ubuntu 16.04 LTS & MySQL & apatche & Redis

Can anyone help with this ? @jospoortvliet

  1. sudo add-apt-repository ppa:ondrej/php
  2. sudo apt-get update
  3. (optional) sudo apt-get remove php7.0
  4. sudo apt-get install php7.1 (from comments)

source: