Why does the PHP output parsed by fastcgi in nginx and apache output length information in the header and tail?
PHP中文网
PHP中文网 2017-05-16 17:04:40
0
1
571

Why does the header and tail output length information when php parsed by fastcgi in nginx and apache is output? In the picture below, the 30e at the beginning and the 0 at the end are both added, and static pages will not be added

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
左手右手慢动作

Solved :)
Nothing to do with fastcgi
The trouble caused by chunked

Add the following configuration to the nginx configuration file
chunked_transfer_encoding off;

apache unconditionally to be tested

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template