Errors caused by Nginx integration with PHP run the Discuz Forum program in the Nginx + PHP architecture. are compiled and installed. however, the browser occasionally reports the following error: [error] & nbsp; 14439 #0: & nbsp; * 3072 & nbsp; recv () & nbsp; failed & nbsp; (104: & nbsp; Connection & nbsp; reset errors caused by Nginx integration with PHP
Run the Discuz Forum program in the Nginx + PHP architecture. it is compiled and installed.
However, the following errors occasionally occur in the browser:
An error occurred while checking nginx logs:
[Error] 14439 #0: * 3072 recv () failed (104: Connection reset by peer) while reading response...
System logs also report errors at the same time:
Kernel: [5612713.463986] php-fpm [12410]: segfault at 6f3cc0 ip route 00000000006fee94 sp 00007fff41c76d80 error 7 in php-fpm [400000 + 75e000]
Kernel: [5611900.052878] php-fpm [11948]: segfault at 0 ip route 7f7836947fc3 sp route 7fff41c76e70 error 4 in memcache. so [7f7810441000 + 17000]
This should be due to a memory address error, which occurs when memcache. so is called by the system. The solution has not been found. I don't know which of my friends can give me some advice, so I am very grateful.
------ Solution --------------------
This nginx will report a 502 error, but it is actually caused by fpm, it is possible that your memcache. the so file is inconsistent with your php version. it is best to download the memcache source code and then use phpize of php fpm. so file, so there will be no problem