Also most services being behind a proxy or gateway already helps make vulnerabilities like the base64 to shell harder to exploit.
In practice, the CVE finding remains including the fear. We do need CVE rules with more fine grained applicability criteria. These criteria need to be embedded in the syntax of the record instead of in free form text if we have any hope of automating it.
But if by any means you can’t update PHP to get rid of that RCE then WAF is the solution.
I was skeptical about WAF as well but in current circumstances I would say if you don’t have WAF you should get one.