Nextcloud uses whatever you “assigned” your web server runs on.
Running php7.3 on Ubuntu 16.0.4 is not official. Check the source/tutorial how you do it for the solution you want. No one knows what you had done, and no one interests on that too.
BTW, I did have experience with some handicap tutorial that manage to make it looks like php7.3 is installed, yes, looks like only. Check those comments (from other people, if any) of that tutorial you followed too. Used to be quite helpful. Good luck.
I had used this command before too. I only remember that I also did a lot of tweaks here and there. It worked but I worried how long can this status last. Because I want a stable NC, finally I go Ubuntu 18.04 which officially comes with php7.2
Thank you, apparently I had installed the 7.2 Modules instead of the 7.3 modules. So I went back and installed the 7.3 modules and then enabled php 7.3 again. Had to work through a few issues such as enabling opcache but I’m currently getting a green All Checks Passed notice so hopefully I’m good now.
At the installation of the MySQL/MariaDB server, you will be prompted to create a root password. Be sure to remember your password as you will need it during Nextcloud database setup.