Php information output is incomplete. My php receives data from the server through socket. I think the length is equal to the number of bytes transmitted from the server, but the output is incomplete, I have output through htmlentities. Is there a limit on the number of webpage bytes? Each time a query is submitted, the returned result is always less and less than a certain amount. for example, if the first request contains more than 1000 bytes, the next request may contain less than 2000 bytes. how can this problem be solved?
Reply to discussion (solution)
It's hard to say that you still need to see the code.
The code is to receive the binary data sent from the server. the code is transcoded and output after receiving the code.
The code is to receive the binary data sent from the server. the code is transcoded and output after receiving the code.
In the php + apache environment, the test is normal. in the xampp. linux environment, nginx + php-fpm cannot be used, and the output is incomplete. Is there any problem with the configuration?