There is a new licensing model for Red Hat Enterprise Linux since CentOS Linux has been discontinued. You have to register on the red hat portal etc but you can use Red Hat for free on up to 16 production servers.
CentOS is now a pre-production OS. I wouldn't use it on a production system. Period.
Both Oracle Linux and AlmaLinux are Red Hat Enterprise Linux based distros. For your use case, I would probably go with Oracle Linux, I'm sure they also have support for the raid controller. Oracle Linux is also free.
I'm not sure why you're getting those errors, as usually aaPanel installs PHP and writes the needed configurations so PHP is parsed, it rarely needs extra configurations.
My suggestion would be for you to try another Linux distro (like RHEL if you want to give it a go or Oracle Linux), then try aaPanel. In my company we are no longer supporting CentOS. It's not a final product for production.