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.
Important
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
Agent PHP New Relic v11.9.0.23
Nouvelles fonctionnalités
- feat(agent) : Ajout de l'auto-instrumentation des implémentations de hooks orientés objet introduites dans Drupal 11.1
Autre
- refactoring(agent) : améliorer les performances de l'instrumentation des fonctions utilisateur pour PHP 8.0+
Avis
La configuration par défaut de Code Level Metrics changera dans une prochaine sortie d'activé à désactivé. Si vous n'utilisez pas le niveau du code Métriques, vous ne devriez voir aucun impact et n'aurez aucune action à entreprendre. Si vous vous fiez aux Code Level Metrics, assurez-vous que votre fichier configuration newrelic.ini a le paramètre INI newrelic.code_level_metrics.enabled
non commenté et défini sur true. par exemple : newrelic.code_level_metrics.enabled = true
Cette modification n’affecte que la valeur de configuration par défaut. Les valeurs de configuration définies manuellement seront respectées et le comportement principal de CLM restera inchangé.
Déclaration de soutien
- New Relic vous recommande de mettre à niveau l'agent régulièrement et au moins tous les 3 mois. Pour plus d'informations sur les versions d'agent prises en charge et les délais de fin de vie, consultez notre politique de fin de vie de l'agent PHP New Relic.
- La page de compatibilité de l'agent et des exigences PHP doit être consultée pour obtenir les dernières informations sur les versions et la plate-forme PHP prises en charge.
Important
Pour les installations utilisant une version ou une plateforme PHP non prise en charge, il est fortement recommandé de désactiver les mécanismes de mise à jour automatique du package de l'agent PHP. Cela peut être fait en ajoutant le package d'agent PHP à une liste d'exclusion pour les mises à niveau package . Ou vous pouvez épingler la version du package d'agent PHP sur une version d'agent qui prend en charge les anciennes fonctionnalités non prises en charge. Le fait de ne pas empêcher les mises à niveau peut entraîner l'installation d'une nouvelle sortie d'agent et la suppression de la prise en charge de la fonctionnalité requise et non prise en charge. Cela perturberait la collecte de données APM.
Les packages d'agents PHP concernés sont :
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
Agent PHP New Relic v11.8.0.22
Nouvelles fonctionnalités
- feat(agent) : ajouter l'instrumentation AWS DynamoDB
Sécurité
- security(daemon) : passer golang à la version 1.24.2
- security(daemon) : passer golang.org/x/net de 0.36.0 à 0.38.0
Avis
La configuration par défaut de Code Level Metrics changera dans une prochaine sortie d'activé à désactivé. Si vous n'utilisez pas le niveau du code Métriques, vous ne devriez voir aucun impact et n'aurez aucune action à entreprendre. Si vous vous fiez aux Code Level Metrics, assurez-vous que votre fichier configuration newrelic.ini a le paramètre INI newrelic.code_level_metrics.enabled
non commenté et défini sur true. par exemple : newrelic.code_level_metrics.enabled = true
Cette modification n’affecte que la valeur de configuration par défaut. Les valeurs de configuration définies manuellement seront respectées et le comportement principal de CLM restera inchangé.
Déclaration de soutien
- New Relic vous recommande de mettre à niveau l'agent régulièrement et au moins tous les 3 mois. Pour plus d'informations sur les versions d'agent prises en charge et les délais de fin de vie, consultez notre politique de fin de vie de l'agent PHP New Relic.
- La page de compatibilité de l'agent et des exigences PHP doit être consultée pour obtenir les dernières informations sur les versions et la plate-forme PHP prises en charge.
Important
Pour les installations utilisant une version ou une plateforme PHP non prise en charge, il est fortement recommandé de désactiver les mécanismes de mise à jour automatique du package de l'agent PHP. Cela peut être fait en ajoutant le package d'agent PHP à une liste d'exclusion pour les mises à niveau package . Ou vous pouvez épingler la version du package d'agent PHP sur une version d'agent qui prend en charge les anciennes fonctionnalités non prises en charge. Le fait de ne pas empêcher les mises à niveau peut entraîner l'installation d'une nouvelle sortie d'agent et la suppression de la prise en charge de la fonctionnalité requise et non prise en charge. Cela perturberait la collecte de données APM.
Les packages d'agents PHP concernés sont :
- newrelic-php5
- newrelic-php5-common
- newrelic-daemon
New Relic PHP agent v11.7.0.21
New features
- feat(agent): Adds label forwarding to log events
- feat(agent): Add AWS Lambda Relationship
Security
- security(daemon): bump golang.org/x/net from 0.33.0 to 0.36.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 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.
Important
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.6.0.19
New features
- Added support for aws-sdk-php SQS version 3 instrumentation
- Added support for php-amqplib version 3.7 RabbitMQ instrumentation
- Added support for Yii version 1.1 instrumentation
- The agent will now generate MessageBroker metrics and attributes
Security
- Daemon Golang version upgraded to 1.23.6
Bug fixes
- Fixed daemon to enable
go vet
check on pull requests - Fixed memory leak in Laravel Queue Instrumentation
- Fixed nr_header_create_distributed_trace_map memory leak
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.
Important
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.5.0.18
New feature
- Adds support for PHP 8.4
Bug Fixes
- Fix Drupal error and exception handling
- 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 error where externalCallCount should be added to the transaction and not just the error event.
- Address aws-sdk-php versioning change.
Security
- Daemon golang.org/x/net module upgraded to v0.33.0
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every three 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.
Important
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.4.0.17
New feature
- Added support for CakePHP framework versions 4.x and 5.x.
Support statement
- New Relic recommends that you upgrade the agent regularly and at a minimum every three 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.
Important
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.3.0.16
New Features
- Memcached instance metrics with host name
- Dockerized Daemon now supports arm64
Bug Fixes
- Improve magic file recognition performance
- Tarball installer checks for existing ini in mods-available directory
- Don't skip arguments when calling
mysqli::real_connect
- 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.
Important
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