title: How do I install an extension of Kafka for PHP?
body: <p>This is the extension that I am trying to install: <a href="https://github.com/EVODelavega/phpkafka" rel="nofollow noreferrer">https://github.com/EVODelavega/phpkafka</a></p>
  
  <p>The messages passed to the queue should be in JSON format.</p>
  
  <p>Currently, I am getting installation errors:
  1. The instructions ask me to install <a href="https://arnaud-lb.github.io/php-rdkafka/phpdoc/rdkafka.installation.html" rel="nofollow noreferrer">librdkafka</a>.
  2. The installation link for the above step is <a href="https://arnaud-lb.github.io/php-rdkafka/phpdoc/rdkafka.installation.html" rel="nofollow noreferrer">this</a>. I am unable to install using the 1st and 4th method. This is the error:</p>
  
  <pre><code>checking for librdkafka/rdkafka.h" in default path... not found
  configure: error: Please reinstall the rdkafka distribution
  </code></pre>