Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Centos 7 PHP 7.2 no data

php
centos7

#1

Please paste the permalink to the page in question below:

https://rpm.eu.newrelic.com/accounts/2184900/applications/1798394

Please share your agent version and other relevant versions below:

php -v
PHP 7.2.13 (cli) (built: Dec 5 2018 08:50:16) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.2.13, Copyright © 1999-2018, by Zend Technologies

httpd -v
Server version: Apache/2.4.37 (codeit)
Server built: Oct 22 2018 19:29:51

newrelic-daemon -v
New Relic daemon version 8.4.0.231-c6bb64e5a788
© Copyright 2009-2016 New Relic Inc. All rights reserved.

Selinux on and enforcing.

Please share your question/describe your issue below. Include any screenshots that may help us understand your question:

No data reporting for this application

I installed the agent as described.
I modified selinux rules so that php-fpm can access the socket
I added the application name into the ini file.
I restarted apache/php-fpm
I got no data.

So I removed the RPMs, cleaned up any leftovers and reinstalled
I added the application name into the ini file.
I restarted apache/php-fpm
This time around I noticed that “PHP Application” had sent data. But that after restarting apache/php-fpm it was once again unable to send data.

Does anyone have any suggestions as to how I could track this down?


#2

While I have a full guide here:

I’d start with a phpinfo() page to make sure that FPM is loading the New Relic extension. If the FPM binary is in a nonstandard location the installer may not have placed the newrelic.so in the correct location. When this happens, the command line php may be creating some connections you are seeing with “PHP Application”.