ERR_CONTENT_DECODING_FAILED error occurs in PHP program, summary of solutions

The problem background
When a new project is deployed to a new server, colleagues can run on Windows without any problems, but when migrating to a Liinux server, they find the following error.
as follows:

Screening method
Check whether the nginx.conf of Nginx opens gzip; if it opens gzip, close it and reload to check whether the zlib.output_compression is open; if it is not opened, use zlib.output_compression = On
The solution
In the php.ini configuration file, the following configuration is found to be off. Open it and restart PHP-FPM

zlib.output_compression = On

Reference links:

Read More: