You will need to use the --with-zip[ =DIR] configuration option when compiling PHP to enable zip support.
Zip support in PHP is not enabled by default. You will need to use the --with-zip[=DIR] configuration option when compiling PHP to enable zip support.