On the first page of the description, we added the deb.sury.org repository to our system package manager, from which we installed all available PHP versions. On this page, we run these versions of PHP on the test server, which run the PHP code of our web pages in parallel but independently of each other.
The official repository for the Debian 9 (Stretch) system is available with the 7.0.x version of PHP, which is a little overdue and will not receive any updates. Therefore, we may need newer versions if we are running live web pages, or we can even upgrade our test environment. In this tutorial, we will conveniently install multiple PHP versions using deb.sury.org's external repository, which can be used side-by-side on our Debian-based servers using the PHP-FPM Server API.
The important thing about programming is that when you write a program that performs a specific task, your code should be prepared for multiple scenarios, variations, and if possible, parameterized - to fine-tune its operation. This is no different for shell scripts. In today's example, we'll look at how we can flexibly handle the parameters we get in our scripts to help make programs easier for others to use.
In this tutorial, we will install Matomo (formerly Piwik) web analytics system on an existing server, which will then provide us with detailed statistics on visitor traffic to websites running on the server. On this page, we are migrating the entire Matomo system to a more modern and efficient PHP-FPM server API.