Ah, thank you, that is helpful! Looks to be working except for chats not auto loading, have to reload the page to see them. I do have WebSockets enabled on Cloudflare, I'm assuming there is something else causing it to not load via CF.
I started the PHP script in a screen on our host.