I have tried this in two different environments, one works one does not. All I am trying to do is open the zip but at the moment I call one of those functions zip_open or new ZipArchive() the code brakes, exits without an error. What could be the problem ?
$zip = file_get_contents($url, false, $context);
file_put_contents($zipfile, $zip);
chmod($zipfile, 0775);
$zip = new ZipArchive();
$zip->open($zipfile);