Added checks for ini_set and set_time_limit