In this article we will setup/install LAMP stack (Apache, MariaDB, PHP) on Ubuntu 22.04 including SSL via Certbot and basic firewall with UFW.
Rocky Linux 9 comes with PHP 8.0 as default and base package. Even 8.0 is fine to use, but there maybe time you would like to update to latest stable release at hand to test your app. Read on how to upgrade to PHP 8.1 on Rocky Linux 9 the easy way.
LAMP stands for Linux, Apache, MySQL/MariaDB and PHP that work together to serve web content also called LAMP stack. Rocky Linux 9 is released and available for public consumption. In this article you will learn how to install Apache, MariaDB and PHP (LAMP) on Rocky Linux 9.
If you are running PHP FPM 7.x version(s) and thinking it's time to upgrade, this article will guide you how to upgrade PHP FPM.