{"id":2004,"date":"2022-08-30T15:21:15","date_gmt":"2022-08-30T15:21:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/08\/php-fpm-for-php5-4-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:21:15","modified_gmt":"2022-08-30T15:21:15","slug":"php-fpm-for-php5-4-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/php-fpm-for-php5-4-collection-of-common-programming-errors\/","title":{"rendered":"php-fpm for php5.4-Collection of common programming errors"},"content":{"rendered":"<p>Nginx works in conjunction with php-fpm, php5.4.<\/p>\n<p>When submitting a form with the Content-Type multipart \/ form-data obtained by this error:<\/p>\n<blockquote>\n<p>2012\/09\/21 18:54:47 [error] 31051#0: *9 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.x, server: x.x.x.x, request: &#8220;POST \/admin\/news\/edit.php?news_id=9032&amp;action=edit HTTP\/1.1&#8221;, upstream: &#8220;fastcgi:\/\/127.0.0.1:9900&#8221;, host: &#8220;x.x.x.x&#8221;, referrer: &#8220;http:\/\/x.x.x.x\/admin\/news\/edit.php?news_id=9032&amp;action=edit&#8221;<\/p>\n<\/blockquote>\n<p>It is written in the log Nginx. What could be the problem?<\/p>\n<p>php-fpm wrote in his log that:<\/p>\n<blockquote>\n<p>[21-Sep-2012 19:19:34] WARNING: [pool www] child 1496 said into stderr: &#8220;php-fpm: pool www: symbol lookup error: \/usr\/local\/php5.4\/lib\/php\/extensions\/no-debug-non-zts-20100525\/suhosin.so: undefined symbol: php_mb_encoding_translation&#8221; [21-Sep-2012 19:19:34] WARNING: [pool www] child 1496 exited with code 127 after 21.748877 seconds from start<\/p>\n<p>[21-Sep-2012 19:19:34] NOTICE: [pool www] child 1507 started<\/p>\n<\/blockquote>\n<p id=\"rop\"><small>Originally posted 2013-12-08 05:41:26. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Nginx works in conjunction with php-fpm, php5.4. When submitting a form with the Content-Type multipart \/ form-data obtained by this error: 2012\/09\/21 18:54:47 [error] 31051#0: *9 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.x, server: x.x.x.x, request: &#8220;POST \/admin\/news\/edit.php?news_id=9032&amp;action=edit HTTP\/1.1&#8221;, upstream: &#8220;fastcgi:\/\/127.0.0.1:9900&#8221;, host: &#8220;x.x.x.x&#8221;, referrer: &#8220;http:\/\/x.x.x.x\/admin\/news\/edit.php?news_id=9032&amp;action=edit&#8221; It is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2004","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2004"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2004\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}