After week or so of trying to figure out this issue, the simple reason is aaPanel / PHP8 is not yet ready for AlmaLinux release 9.1.
I do not have the needed talent to figure out inter workings of aaPanel to get exact reason but do know that AlmaLinux release 9.1 will not work yet.
Installed AlmaLinux release 8.7 and everything works as expected.