Releases: newrelic/newrelic-php-agent
New Relic PHP Agent v11.10.0.24
New features
- Security RX: Composer runtime API will be used by default to detect packages used by PHP applications (#1055)
Security updates
- #1089 - security(daemon): upgrade golang to 1.24.4 (#1090)
- #973 - security: rotate New Relic's public key used to verify signature of http://apt.newrelic.com/debian/ apt repository. See here for details.
Bug fixes
- fix(agent): Fix undefined behavior when Composer runtime API is used (#1086)
Notice
Default value for newrelic.code_level_metrics.enabled
INI changes in next release
The default Code Level Metrics configuration will change in an upcoming release from enabled to disabled. If you do not use Code Level Metrics, you should see no impact and will not have to take any action. If you do rely on Code Level Metrics, ensure that your newrelic.ini configuration file has the newrelic.code_level_metrics.enabled
INI setting uncommented and set to true.
e.g:
newrelic.code_level_metrics.enabled = true
This change only impacts the default configuration value. Manually set configuration values will be honored, and core CLM behavior will remain unaffected.
Support statement
-
The following frameworks/libraries that the PHP Agent has previously EOL'd support for will be removed in the next release:
- Guzzle 3.x
- Kohana
- Silex
- Symfony 1.x-3.x
- Zend 1.x-2.x
-
PHP Agent support for the following library/framework versions will end September 30, 2025:
- WordPress 5.9
- Drupal 8.x
- Laravel 6.x, 8.x
- PHPUnit 8.x
-
New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our New Relic PHP Agent EOL policy.
-
The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP Agent v11.9.0.23
New features
- feat(agent): Add auto-instrumentation of object oriented hook implementations introduced in Drupal 11.1
Other
- refactor(agent): Improve performance of user functions instrumentation for PHPs 8.0+
Notice
The default Code Level Metrics configuration will change in an upcoming release from enabled to disabled.
If you do not use Code Level Metrics, you should see no impact and will not have to take any action.
If you do rely on Code Level Metrics, ensure that your newrelic.ini configuration file has the
newrelic.code_level_metrics.enabled
INI setting uncommented and set to true.
e.g:
newrelic.code_level_metrics.enabled = true
This change only impacts the default configuration value. Manually set configuration values will be honored, and core CLM behavior will remain unaffected.
Support statement
-
New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our New Relic PHP Agent EOL policy.
-
The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 11.8.0.22
New Relic PHP agent v11.8.0.22
New features
- feat(agent): Add AWS DynamoDB Instrumentation
Security
- security(daemon): bump golang to 1.24.2
- security(daemon): bump golang.org/x/net from 0.36.0 to 0.38.0
Notice
The default Code Level Metrics configuration will change in an upcoming release from enabled to disabled.
If you do not use Code Level Metrics, you should see no impact and will not have to take any action.
If you do rely on Code Level Metrics, ensure that your newrelic.ini configuration file has the
newrelic.code_level_metrics.enabled
INI setting uncommented and set to true.
e.g:
newrelic.code_level_metrics.enabled = true
This change only impacts the default configuration value. Manually set configuration values will be honored, and core CLM behavior will remain unaffected.
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 11.7.0.21
New Relic PHP agent v11.7.0.21
New features
- feat(agent): Adds label forwarding to log events by @mfulb in #1027
- feat(agent): Add AWS Lambda Relationship by @ZNeumann in #1023
Security
- security(daemon): bump golang.org/x/net from 0.33.0 to 0.36.0 by @dependabot in #1034
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 11.6.0.19
New Relic PHP agent v11.6.0.19
New features
- Added support for aws-sdk-php SQS version 3 instrumentation by @zsistla in #1003
- Added support for php-amqplib version 3.7 RabbitMQ instrumentation by @zsistla in #1009
- Added support for Yii version 1.1 instrumentation
- The agent will now generate MessageBroker metrics and attributes by @zsistla in #991
Security
Bug fixes
- Fixed daemon to enable
go vet
check on pull requests by @lavarou in #1005 - Fixed memory leak in Laravel Queue Instrumentation by @zsistla in #1014
- Fixed nr_header_create_distributed_trace_map memory leak by @zsistla in #1017
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 11.5.0.18
New Relic PHP agent v11.5.0.18
New features
Bug Fixes
- fix(agent): fix Drupal error and exception handling by @bduranleau-nr in #995
- This fix may conflict with the error and exception handling of the Drupal new_relic_rpm module. If you have this module installed and you aren't seeing your errors reported natively by the agent, try disabling the new_relic_rpm module. If you still experience issues after disabling this module, please reach out to New Relic Support.
- fix(axiom): externalCallCount should be added to the txn not just the error by @zsistla in #1006
- fix(agent): address the aws-sdk-php versioning change by @zsistla in #1001
Security
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our New Relic PHP Agent EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Release 11.4.0.17
New Relic PHP agent v11.4.0.17
New features
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP Agent 11.3.0.16
New Features
- Memcached instance metrics with host name by @ZNeumann in #958
- Dockerized Daemon now supports arm64 by @bduranleau-nr in newrelic/newrelic-php-daemon-docker#169
Bug Fixes
- Improve magic file recognition performance by @lavarou in #970 and #975
- Tarball installer checks for existing ini in mods-available directory by @ZNeumann in #971
- Don't skip arguments when calling
mysqli::real_connect
by @kovshenin in #976- Huge thanks to @kovshenin for their community contribution!!
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update
mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Full Changelog: v11.2.0.15...v11.3.0.16
v11.2.0.15
New Relic PHP Agent 11.2.0.15
New Features
- feat(agent): if possible, use composer runtime API to collect information about PHP packages used by the application for New Relic Vulnerability Management. This feature is controlled via the new
newrelic.vulnerability_management.composer_api.enabled
INI value (off by default). by @lavarou in #962 - Symfony 6 & 7 support verified.
Security
Bug Fixes
- fix(agent): Fixes newrelic_notice_error() API for PHP 8+ when using the 4 parameter API variant by @mfulb in #960
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
For installations using an unsupported PHP version or platform, it's highly recommended that you disable the auto-update mechanisms for the PHP agent packages. This can be done by adding the PHP agent packages to an exclusion list for package upgrades. Or you could version pin the PHP agent package to an agent version that supports the old, unsupported feature(s). Failure to prevent upgrades may result in a newer agent release being installed and the removal of support for the required, unsupported features. This would disrupt APM data collection.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Full Changelog: v11.1.0.14...v11.2.0.15
Release 11.1.0.14
New Relic PHP agent v11.1.0.14
New features
- Drupal 11 verified and supported.
Bug fixes
- Fixes an issue where
newrelic.so
was not able to resolve thestrlcpy
symbol on Linux using glibc version 2.39 or higher.
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. For more information on supported agent versions and EOL timelines, check out our PHP EOL policy.
- The PHP agent compatibility and requirements page should be consulted for the latest information on supported PHP versions and platforms.
The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon