PHP 8.0 Not Working - fresh install

Just did a fresh install on Alma 8.X, installed one site with php 8.0 and am getting the following error:

2023-01-14 01:24:44.598120 [INFO] [74324] [142.147.XXX.XXX:49577:HTTP2-15] Content len: 0, request line: ‘GET /phpinfo.php HTTP/1.1’
2023-01-14 01:24:48.231847 [ERROR] [74324] [142.147.XXX.XXX:49579:HTTP2-15] MIME type [application/x-httpd-php] for suffix ‘.php’ does not allow serving as static file, access denied!

I guess you are expected to use an adblocker with this site?

Welcome @Mee Happy you are here

You will need to check your rewrite rules for your website. A simple test would be removing all the rules and see if the issue still persists.