ServerPilot builds our own "deb" packages of Nginx, Apache, and PHP. We do not install the versions of these provided by Ubuntu.
The first reason we build our own packages is so we can configure your server with the latest, fastest, and most secure versions of these packages.
We also want to ensure that we can provide the same versions of these packages across different versions of Ubuntu. If you are using servers running Ubuntu 16.04 and start using servers running Ubuntu 18.04, we want you to have all of the same versions of Nginx, Apache, and PHP available.
Lastly, in the case of PHP, we also want to provide multiple versions of PHP side-by-side on your server. This is what makes it possible for a single server of yours to run apps with PHP 5.6, PHP 7.0, PHP 7.1, PHP 7.2, and PHP 7.3.
Please note: As of September, 2019, PHP versions 5.6, 7.0, and 7.1 are no longer installed on new ServerPilot servers, but will continue to work normally on existing servers. PHP versions 7.2 and above continue to be installed by default.