Your other server may have error log turned off, so you can do the following.
error_reporting(E_ALL); //to set the level of errors to log, E_ALL sets all warning, info , error
ini_set("log_errors", true);
ini_set("error_log", "/your_error_path/file.log"); //send error log to log file specified here.
Add the above code to your file and then execute in the other server.