Deploying Laravel Application on Debian 11

Debian 11 allows installing PHP 7.4, but the latest Laravel (at the time of this writing is version 10) has as a requirement to have a PHP version equal to or higher than 8.1. We will use the DPA (Debian Package Archive) available at, since the official version is not so updated. PHP Packages …

Install MySQL on Debian 10/11

MySQL isn’t available in the official repository of Debian 10/11, MariaDB (fork of MySQL) is the default packages. When you decide to use MySQL instead of MariaDB, the first time you have to do is installing the MySQL APT repository. Let’s download and install MySQL APT Repository from, run the command bellow