Upgrade PHP version
I am installing a Laravel app on Linode using Forge and it is giving me a PHP version error.
Right now I have PHP Version 7.2.1-1+ubuntu16.04.1+deb.sury.org+1.
How can I upgrade my php version and of possible, Ubuntu version too.
Based on my limited (n.b., DISCLAIMERS APPLY) experience with Ubuntu 16.04, you can probably install an updated php for 18.04 or 19.04 by following the directions here:
I doubt the packaging or prerequisites have changed that much (unless you have some bizarre, non-standard extension you want to use). Or, you could download the source and build it yourself (this might be more involved that you care to experience).