Replacement for the CGI?

My web hoster upgraded my website.
New 64-bit hosting instead of the old aging server hardware with 32-bit version.

But they won’t support perl for CGI there!

I wonder if in future more hosters may no longer support CGI, so we may need some compatibility php script to do the same job as the old one for Web 1.0 apps.

Has anyone tried such a php script?

Your best bet would be to deploy standalone.