How to Zip a directory in PHP?

Posted by Prem Tiwari | Updated on

If you want to Zip a directory in PHP? Use the below PHP program to zip a folder using PHP programming language.

Note: For using the below script, Windows users need to enable php_zip.dll inside of php.ini.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers