---

How to Install Different PHP (5.6, 7.0 and 7.1) Versions in Ubuntu

Tecmint: In this article, we will explain how to install all the supported versions of PHP in Ubuntu and its derivatives with most requested PHP extensions for both Apache and Nginx web servers using a Ond??ej Sur?? PPA. We will also explain how to set default version of PHP to be used on the Ubuntu system.