Edit LocalSettings.php:
$wgFileExtensions[] = 'zip'; $wgFileExtensions[] = '7z';
This adds ".zip" to allowed media: uploads array, as well as retaining the default .png, .gif, .jpg etc.