On Fedora 35, , Alma Linux 8.5 (CentOS 8.5 compatible)
Enable installing Mediawiki along with NGINX, mariaDB, PHP (proper version), so it works "out of the box", with default config files being OK, as is, to get started.
Ideally create a (dnf) "group install", or a (dnf) "module install" (better) to make this easy.
...because I found it very difficult to get this to work on Fedora 34, Alma Linux, etc .. No success so far !
Thanks.