Zend certified PHP/Magento developer

Invalid opcode when installing an AlmaLinux machine in VirtualBox on a Windows 11 pc

I am trying to install an AlmaLinux x64 virtual machine with an ISO disc but when I execute de virtual machine in VirtualBox 6.1 and select install this error shows on the screen:

I

I tried enabling virtualization on the BIOS, changing the VirtualBox version, directory, AlmaLinux version (I switched from 8.7 to 9.1), and installing the Virtual Box Extension pack for each version. No matter what I did nothing worked. When I tried executing the virtual machine using VirtualBox 7.0.6, the screen went black and nothing happened.