New Relic PHP agent v10.16.0.5
Security
- Agent debugging log obfuscation improved for relevant agent configuration values.
New features
- INI value
newrelic.framework.wordpress.hooks.options
that allows tailoring WordPress instrumentation. Usingplugins_callbacks
orthreshold
values offer different instrumentation levels with reduced agent’s overhead. See https://docs.newrelic.com/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-framework-wordpress-hooks-options and https://docs.newrelic.com/docs/apm/agents/php-agent/frameworks-libraries/wordpress-specific-functionality/ for more details.
Miscellaneous improvements
- Several performance-related improvements for agent when using the Wordpress framework.
Important end-of-life information
- Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024
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.
Importante
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 v10.15.0.4
New features
- Adds support for PHP 8.3
Bug fixes
- Removes a warning message for
NULL
Docker ID
Miscellaneous improvements
- Several performance-related improvements
Important end-of-life information
- Support for PHP versions 7.0 and 7.1 will EOL on June 1st, 2024
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.
Importante
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 v10.14.0.3
Security
- Updated the Golang version used to build the Daemon from 1.20 to 1.21.1.
New features
The PHP agent now supports APM log context attributes. See the PHP Logs In Context page for more information.
The agent now supports detecting Docker container IDs via cgroup v2.
Bug fixes
A fix was added that removes erroneous deprecation warnings which could appear using the mysqli extension with PHP 8.1 and later.
When PHP 8+ is built in debug mode, zpp/arginfo mismatches are now Fatal Errors. Fixed the mismatches that existed in the code base.
Resolved an issue impacting duplicative telemetry data.
Important end-of-life information
- Support for PHP versions 7.0 and 7.1 will EOL in early 2024.
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.
Importante
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. 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. 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). The PHP agent packages that are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP agent v10.13.0.2
New features
- The PHP agent now supports APM local log decoration. See the PHP Agent Logs In Context page for more information.
Important end-of-life information
- Support for PHP versions 7.0 and 7.1 will EOL in early 2024.
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.
Importante
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 v10.12.0.1
New features
- Improved Guzzle 5 and 6 detection.
- Adds
newrelic_set_error_group_callback
API, allowing an application to register a callback function with the PHP Agent that will generate a custom error group name. Read more about this API here. - Adds
newrelic_set_user_id
API, allowing an application to assign a unique user ID to a transaction. Read more about this API here. - Adds a link to documentation to the install error message when installing an unsupported version of PHP.
- Verified support for Guzzle 7.
- Verified support for Laravel 9 and 10.
Bug fixes
- Reduces the log level for a Drupal-specific message to a more appropriate value.
- Fixes a bug in Infinite Tracing where distributed traces were missing a
parentID
attribute that caused issues displaying a distributed application in the UI.
Important end-of-life information
- Support for PHP versions 7.0 and 7.1 will EOL in early 2024.
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.
Importante
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 v10.11.0.3
Security
New features
- Drupal 9.4 now reports hooks and modules
Bug Fixes
Important end-of-life information
- Support for PHP versions 5.5 and 5.6 IS DEPRECATED. We recommend upgrading to at least PHP 7.0
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.
Importante
For installations using an unsupported PHP version or platform (32 bit, FreeBSD, ZTS, etc), 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 removal of support for the required, unsupported features. This would disrupt APM data collection. The PHP agent packages which are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP Agent v10.10.0.1
Security
New features
- ARM64 binaries are now available for PHP 8.0, 8.1, and 8.2. Please see our docs for installation instructions.
Bug Fixes
- Additional handling/msg in the case of both DT and CAT being enabled #658
Important end-of-life information
- Support for PHP versions 5.5 and 5.6 will end June 2023.
Support statement
Support for ZTS builds ended with release v9.19.0.309 and those binaries are no longer provided.
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.
Importante
For installations using an unsupported PHP version or platform (32 bit, FreeBSD, ZTS, etc), 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 removal of support for the required, unsupported features. This would disrupt APM data collection. The PHP agent packages which are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP Agent v10.9.0.324
Security
- Updated the Golang version used to build the Daemon from 1.9 to 1.20
New features
Bug Fixes
Important end-of-life information
- Support for PHP versions 5.5 and 5.6 will end June 2023.
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.
Importante
For installations using an unsupported PHP version or platform (32 bit, FreeBSD, ZTS, etc), 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 removal of support for the required, unsupported features. This would disrupt APM data collection. The PHP agent packages which are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP Agent v10.8.0.323
New features
- Added
healthcheck
log level for the daemon, allowing for precise monitoring of the number of connected applications.
Bug Fixes
- Fixed debian package installation occasionally requiring an additional manual step #634
- Fixed a warning from agent when passing null as the second parameter to curl_multi_exec #605. Special thanks to dejanceltra for finding and fixing this issue!
New Contributors
This release contains the first contribution to the New Relic PHP Agent from community member dejanceltra! Thanks!!
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.
Importante
For installations using an unsupported PHP version or platform (32 bit, FreeBSD, ZTS, etc), 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 removal of support for the required, unsupported features. This would disrupt APM data collection. The PHP agent packages which are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP Agent v10.7.0.319
Important note
If the following error occurs when installing the newrelic-php5 Debian package:
Setting up newrelic-php5 (10.7.0.319) ...Unknown PHP version: 8.2
Please run the newrelic-install installation program which will complete the installation of the PHP agent and set up the correct symlink to the PHP extension directory.
New features
- Added Support for PHP 8.2.
Important end-of-life information
- Support for PHP versions 5.5 and 5.6 will end June 2023.
Support statement
- Support for 32 bit and FreeBSD ended with release v9.19.0.309 and those binaries are no longer provided.
- Support for ZTS builds ended with release v9.19.0.309.
- 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.
Importante
For installations using an unsupported PHP version or platform (32 bit, FreeBSD, ZTS, etc), 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 removal of support for the required, unsupported features. This would disrupt APM data collection. The PHP agent packages which are affected are:
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon