Linux Capable published a tutorial about installing the LAMP stack on AlmaLinux 8.
Install LAMP Stack on AlmaLinux 8
Learn how to install LAMP stack - apache (httpd), mariadb/mysql and PHP on AlmaLinux 8 with examples on each step.
Install LAMP Stack on AlmaLinux 8 - LinuxCapable