"PHP must allow shell_exec and remote fopen."
ouch.
ouch.
For a permanent solution, get a very small Digital Ocean server, install this with the requested unsafe settings, and let the machine be dedicated to this. Even if someone compromised the machine, they wouldn't get anything of interest.
I also meant to say that any server used for this purpose should be firewalled so that only your IP can access it.