Removed ini_set call in shutdown function