Moving a Web program to a new server, and having errors with functionality?
Are the logs proving to be less than verbose?
You might want to check for missing host OS packages.
Some applications skip the language built ins in favor of shelling out to an OS utility.
For PHP exec For Python os.system Popen