@tedlaur FOG does not require using php 5 anylonger.
The “minimum” version expected in more modern versions of FOG I believe is at least 7. In the past it used to be 5.6 at least, but with the large differences in php 7/8 I believe it’s normal now to expect at least 7 or >