Package Details: newrelic-php5

Git Clone URL: (read-only, click to copy)
Package Base: newrelic-php5
Description: NewRelic PHP Monitoring Agent
Upstream URL:
Licenses: non-free
Submitter: kureikain
Maintainer: kimbrandt
Last Packager: kimbrandt
Votes: 4
Popularity: 0.000000
First Submitted: 2013-11-29 08:58
Last Updated: 2018-05-12 21:27

Latest Comments

1 2 3 Next › Last »

dpanzer commented on 2018-10-16 23:54

FWIW I had to do 3 things to get this to work:

1) Comment out the #PIDFile in the service definition 2) Copy the newrelic.cfg template to /etc/newrelic (which dir did not exist) 3) Change the config in both /etc/php/conf.d/newrelic.ini and /etc/newrelic/newrelic.cfg to listen on a numerical port because the UNIX socket was not working

kimbrandt commented on 2017-11-19 16:22

Package is now updated for php 7

felixonmars commented on 2014-09-03 15:36

Oh, the new files are for php 5.6, which is still in [testing] (stayed much longer than I expected), sorry :(

falmp commented on 2014-09-03 15:28

I got into some odd situation, not sure if I'm the only one.

'php -m' was giving me this message:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/' - /usr/lib/php/modules/ cannot open shared object file: No such file or directory in Unknown on line 0
Interactive shell

So I checked the symlinks and they were pointing to non-existing files:

lrwxrwxrwx 1 root root 45 10.12.2013 18:59 -> /usr/lib/php/modules/
lrwxrwxrwx 1 root root 41 10.12.2013 18:59 -> /usr/lib/php/modules/

I checked the .install file and you have there on post_install():

ln -s /usr/lib/php/modules/ /usr/lib/php/modules/
ln -s /usr/lib/php/modules/ /usr/lib/php/modules/

Isn't it suppose to have something similar on post_upgrade() removing the old symlinks and creating the new ones? Nonetheless, I created them manually, but then now I'm getting the following message:

PHP Warning: PHP Startup: newrelic: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0

I have disabled the module for now. Any ideas?

xanthi commented on 2014-08-01 08:44

New release available is from


curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading newrelic-php5-

ly50247 commented on 2014-07-31 06:30

Latest files are newrelic-20131226*.so instead of newrelic-20121212*.so

ly50247 commented on 2014-07-31 06:29

Latest files are newrelic-20131226.*so instead of*so

falmp commented on 2014-05-06 11:38

Is the newrelic-daemon.service correct? I get the following error when trying to start this service:

* newrelic-daemon.service - NewRelic Proxy Daemon PHP5
Loaded: loaded (/usr/lib/systemd/system/newrelic-daemon.service; disabled)
Active: failed (Result: exit-code) since Tue 2014-05-06 11:35:58 UTC; 9s ago
Process: 32530 ExecStart=/usr/bin/newrelic-daemon -c /etc/newrelic/newrelic.cfg -p /run/ (code=exited, status=1/FAILURE)

May 06 11:35:58 server.domain.tld newrelic-daemon[32530]: Error opening '/etc/newrelic/newrelic.cfg': No such file or directory
May 06 11:35:58 server.domain.tld systemd[1]: newrelic-daemon.service: control process exited, code=exited status=1
May 06 11:35:58 server.domain.tld systemd[1]: Failed to start NewRelic Proxy Daemon PHP5.
May 06 11:35:58 server.domain.tld systemd[1]: Unit newrelic-daemon.service entered failed state.

Sure enough, the file /etc/newrelic/newrelic.cfg doesn't exist.

felixonmars commented on 2014-04-26 00:13

Thanks, updated.

falmp commented on 2014-04-14 14:54

Can you update the backup directive? I guess it should be /etc/php/conf.d/newrelic.ini since this is the one we will be updating with our license key: