Upgrade php from 7.2 to 7.3

I’m running ubuntu 18.04 on Digital Ocean with php 7.2

Is there a documentation how to upgrade php to 7.3?

Please share your system information. Basicly: Just add the requested php version in the server settings.

Once you have installed the new version of PHP, you’ll have to make sure that you have all the PHP modules installed that you were using.

dpkg --get-selections | grep -i php

This will list all the php modules you have installed. Make sure for every 7.2 module you have installed, that you install the corresponding 7.3 module. I’ve been caught out by this before.