PHP Zip

PHP Zip


ZIP is an archive file format that supports lossless data compression. A ZIP file may contain one or more files or directories that may have been compressed. The PHP ZipArchive class can be used to zipping and unzipping. It might be need to install the class if it is not present.

Installation for Linux users: In order to use these functions you must compile PHP with zip support by using the –enable-zip configure option.

Installation for Windows users: As of PHP 5.3 this extension is inbuilt. Before, Windows users need to enable php_zip.dll inside of php.ini in order to use its functions.