Compile PHP with zip support by using the --enable-zip configure option.
Windows users need to enable php_zip.dll inside of php.ini in order to use these functions.