i am using MPDF for generating Multiple PDF Files in PHP in a loop. Some of PDF Files are so big for that purpose in a loop i have also define PHP functions for increase time limit etc.
ini_set('max_execution_time', 0);
ini_set("memory_limit", "512M");
set_time_limit(0);
But still it show me an 500 internal server error on server, works fine on local