Linux Shout published a tutorial about installing PHP 8.0 on AlmaLinux or Rocky Linux.
How to Install PHP 8.0 on AlmaLinux / Rocky 8.x
To get better web application performance install latest PHP 8.0 on AlmaLinux or Rocky Linux using REMI Module Enterprise Repository.
How to Install PHP 8.0 on AlmaLinux / Rocky 8.x - Linux Shout