Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Always Get This Error:Connection reset by peer

$
0
0
I migrated my site from apache to nginx and use nginx 1.4.4+mysql 5.6.15 + php 5.3.3.
When I visit some php pages,
There is an error in nginx error log: recv() failed (104: connection reset by peer) while reading response header from upstream.
Error in php-fpm.log: Cannot uses string offset as an array in xxx.php on line 87
On some php pages, there is error: Fatal error: Call to a member function table() on a non-object.
My original apache web site works very well.
I searched on web but found no answer.
Is is related with configuration? Is there anyone can help me to fix this?
Thanks in advance!

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>