mac linux apache php-zip code example Example: install zip php extension sudo apt-get install php7.0-zip