Question: how to enable gzip compression in php?
Answer: Step1. The browser/client request for a file to the server. Step2. The server sends a . zip file to the browser (index. ...  Step3. After the execution of the above step, the browser downloads the zipped file, extracts it, and then shows it to the user. ...  Note. In PHP files we can enable GZIP compression.