Package Details: newrelic-php5 6.2.0.158-1

Git Clone URL: https://aur.archlinux.org/newrelic-php5.git (read-only)
Package Base: newrelic-php5
Description: NewRelic PHP
Upstream URL: http://newrelic.com/
Licenses: non-free
Submitter: kureikain
Maintainer: felixonmars
Last Packager: felixonmars
Votes: 3
Popularity: 0.000000
First Submitted: 2013-11-29 08:58
Last Updated: 2016-04-18 13:45

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

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/newrelic.so' - /usr/lib/php/modules/newrelic.so: 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 newrelic-zts.so -> /usr/lib/php/modules/newrelic-20121212-zts.so
lrwxrwxrwx 1 root root 41 10.12.2013 18:59 newrelic.so -> /usr/lib/php/modules/newrelic-20121212.so

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

ln -s /usr/lib/php/modules/newrelic-20131226-zts.so /usr/lib/php/modules/newrelic-zts.so
ln -s /usr/lib/php/modules/newrelic-20131226.so /usr/lib/php/modules/newrelic.so

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 4.11.0.63 from http://download.newrelic.com/php_agent/release/

====================================

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading newrelic-php5-4.10.1.62-linux.tar.gz
Aborting...

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 newrelic-20121212.so*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/newrelic-php5.pid (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

@falmp
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:

backup=('etc/php/conf.d/newrelic.ini')

felixonmars commented on 2014-03-15 06:53

Adopted, thanks :)

kureikain commented on 2014-03-15 06:51

Thanks.

I disowned the package, please adopt it.

JFI:
In the case you want to re-use my script: https://github.com/axcoto/newrelic-php5
all you need to do is run ./build (require Ruby), it will ask for your AUR username/password and automatically update for you.

All comments