title: PHP Startup: Unable to load dynamic library (NEW RELIC)
body: <p>I am running Ubuntu 12.04 with Nginx and the latest PHP. The story goes like this:
  I tried to install the new relic PHP agent per the instructions for ubuntu: </p>
  
  <pre><code>wget -O - http://download.newrelic.com/548C16BF.gpg | sudo apt-key add -
  
  sudo sh -c 'echo "deb http://apt.newrelic.com/debian/ newrelic non-free" 
  &gt; /etc/apt /sources.list.d/newrelic.list'
  
  sudo apt-get update
  sudo apt-get install newrelic-php5
  sudo newrelic-install install
  </code></pre>
  
  <p>And it doesn't work. After everything the PHP agent simply can't start. I even whipped up a quick <code>phpinfo.php</code> page to see if the newrelic module was listed and it's not. So then I googled "New relic .deb" and came across this page: <a href="https://docs.newrelic.com/docs/server/server-monitor-installation-ubuntu-and-debian" rel="nofollow noreferrer">https://docs.newrelic.com/docs/server/server-monitor-installation-ubuntu-and-debian</a> and followed the instructions. The install all goes through but the agent also doesn't start. I like to keep my servers clean so I decided "OK, since it doesn't work, until new relic support gets back to me and I can start from fresh I will remove the new relic stuff that was installed". So once again I followed the instructions on that link. The install seemed to work normally. However, if I execute the command "<code>PHP</code>" I get the following error: </p>
  
  <pre><code>root@MYHOSTNAME:/home# php
  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212
  /newrelic.so' - /usr/lib/php5/20121212/newrelic.so: cannot open shared object file:
  No such file or directory in Unknown on line 0
  </code></pre>
  
  <p>I made sure there is no reference to newrelic in my <code>/etc/php/fpm/php.ini</code> file and double checked to see if there was anything in that folder. Nothing. </p>
  
  <p><strong><em>So my question is: how do I get rid of the error? How do I make PHP stop trying to load that newrelic.so module? Is there any reference to it somewhere that I might be missing?</em></strong></p>