title: Nginx + php-fpm on Amazon Linux = exited on signal 11
body: <p><strong>Amazon Linux lastest</strong></p>
  
  <p><strong>PHP 5.4.19 (cli) (built: Sep  3 2013 23:19:23)</strong> </p>
  
  <p><strong>nginx version: nginx/1.2.9</strong></p>
  
  <p><strong>installed PHP-FPM: PHP 5.4.19 (fpm-fcgi) (built: Sep  3 2013 23:22:01)</strong></p>
  
  <p>phpinfo() is working</p>
  
  <p><strong>pma.nginx.conf:</strong></p>
  
  <pre><code>server {
  listen 80;
  server_name pma.my.server;
  
  root /usr/share/phpmyadmin;
  index index.php;
  charset UTF-8;
  
  access_log /var/log/myserver/pma.access.log;
  error_log /var/log/myserver/pma.error.log;
  
  location ~ \.php$ {
      include fastcgi_params;
      fastcgi_pass  php-fpm;
      fastcgi_index index.php;
      fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin/$fastcgi_script_name;
      fastcgi_param DOCUMENT_ROOT /usr/share/phpmyadmin/;
      fastcgi_intercept_errors on;
  }
  </code></pre>
  
  <p>}</p>
  
  <p><strong>/var/log/myserver/pma.error.log:</strong></p>
  
  <pre><code>[error] 21374#0: *13 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 1.0.255.202, server: pma.my.server, request: "GET /js/get_image.js.php?theme=pmahomme HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "pma.my.server", referrer: "http://pma.my.server/"
  </code></pre>
  
  <p><strong>/var/log/php-fpm/error.log</strong></p>
  
  <pre><code>NOTICE: fpm is running, pid 21598
  NOTICE: ready to handle connections
  WARNING: [pool www] child 21600 exited on signal 11 (SIGSEGV) after 12.862493 seconds from start
  NOTICE: [pool www] child 21614 started
  WARNING: [pool www] child 21602 exited on signal 11 (SIGSEGV) after 13.768522 seconds from start
  NOTICE: [pool www] child 21617 started
  </code></pre>
  
  <p><strong>/var/log/messages</strong></p>
  
  <pre><code>kernel: [12499.658777] php-fpm[21603]: segfault at 0 ip 00000000005c5a39 sp 00007fffb44d6d60 error 4 in php-fpm[400000+31c000]
  </code></pre>
  
  <p>I don't have big experience with Nginx and FastCGI, so I need your help. Do you have any ideas? Thanks in advance</p>