How to roll PHP back to v7.x from 8?

I’ve set up a LEMP stack on an old Intel NUC but the php-basic bundle I installed contains version 8 and I need it to be 7.x. I’ve seen a couple threads around here about rolling 7.4 back to 7.2 and apparently that requires either compiling from source or me figuring out what the “rpm2cpio method” is. I was hoping there might be an easier way to roll 8 back to 7.4 tho, since 7.4 still has plenty of life left and many things are not yet fully compatible with 8.