Пробывал так: $archive_dir = "project/work/" . $next . "/img/"; $dest_dir = "project/work/" . $next . "/img/"; $zip = new ZipArchive(); $fileName = $archive_dir . $_FILES[lit_zip][name] if ($zip->open($fileName) !== true) { fwrite(STDERR, "Error while openning archive file"); exit(1); } $zip->extractTo($dest_dir); $zip->close(); Но выдает ошибку: Fatal error: Class 'ZipArchive' not found in Z:\home\roman\www\admin\index.php on line 180