We install the NewRelic agent with this code: newrelic.config
packages: yum: newrelic-php5: [] rpm: newrelic: http://yum.newrelic.com