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.
Rocky Linux 9 is a long term support OS, so you can safely use it for another 10 years. Most cloud providers offer it already, where you don't need to install it. But if you are testing or even hosting an app on your local machine, you can install Rocky Linux 9 in a VirtualBox to do so.