title: Multiple PHP-FPM versions on Amazon Linux load the same config
body: <p>I want to run multiple PHP-FPM Versions on a Server with Amazon Linux.
  The Setup runs with Nginx and the configuration there is fine.
  I installed PHP 5.6 and 7.1 and modified the /etc/php-fpm-5.6/www.conf and the /etc/php-fpm-7.1/www.conf to create a pool for each version.
  The Problem is that when I start one of the fpm services they always load the socket information out of the /etc/php-fpm.conf and don't use the version specific one.
  I didn't modify the /etc/php-fpm.conf and just changed the listen part in the Version specific ones</p>
  
  <pre><code>listen = /var/run/php-fpm/php-fpm-7.1.sock
  </code></pre>
  
  <p>and use the socket in my nginx:</p>
  
  <pre><code>  fastcgi_pass   unix:/var/run/php-fpm/php-fpm-7.1.sock;
  </code></pre>
  
  <p>I couldn't find any advice why this is done. All documentations i found just tell me to to what i have done and it should work.</p>