Afraid VFP9 has been end of life for some time now, so it couldn't have been test officially for Server 2022.
https://learn.microsoft.com/en-us/lifecycle/products/microsoft-visual-foxpro-90
As to 2012 you may just need to try it out.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--