• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

PHP agent release notesRSS

April 21, 2021
PHP agent v9.17.0.300

End of life notices

  • This will be the last release in which ZTS builds are supported. In the future, ZTS builds may not be provided, and support may be completely pulled from the codebase.
  • New Relic no longer supports PHP 5.3 or PHP 5.4. New Relic highly encourages upgrading to a supported version of PHP. If you would like to continue running the New Relic PHP agent with PHP 5.3 or 5.4, we recommend using version 9.16 of the agent. However, please note that we can only offer limited support in this case.
  • Ubuntu LTS versions earlier than 14.04, Ubuntu non-LTS versions earlier than 19.04, and Debian versions earlier than 7 "wheezy" are no longer supported.
  • The following frameworks or framework versions are no longer supported and may be removed from future agent builds:
    • Cake PHP 1.x
    • Joomla 1.5, 1.6, and 2.x
    • Kohana
    • Silex 1.x and 2.x
    • Symfony 1.x and 2.x

New features

Bug fixes

  • Fixed a memory leak that occurred when short lived segments throw exceptions.
  • Fixed a build up of duplicate distributed tracing headers that sometimes occurred when using file_get_contents.
  • Fixed an issue where Laravel Lumen transactions were not being properly named.

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. As of this release, the oldest supported version is 8.6.0.

January 25, 2021
PHP agent v9.16.0.295

Bug fixes

  • The Drupal instrumentation now guards against rare conditions that led to PHP processes exiting with an allocation error. Additionally, the allocation routines now log stack traces when they fail.
  • When initially building the agent, a parallel build is no longer required to avoid an error about a missing header file (v1.pb-c.h).
  • SOAP transactions when using Magento 2.3.2+ are now properly named instead of being attributed to Magento's internal SOAP interceptor. Thanks @steven-hoffman-jomashop for the issue report and fix suggestion!

Support statement

  • New Relic recommends that you upgrade the agent regularly and at a minimum every 3 months. As of this release, the oldest supported version is 8.5.0.

December 7, 2020
PHP agent v9.15.0.293

Avis de fin de vie

  • La prise en charge de PHP 5.3 et PHP 5.4 dans l’agent PHP New Relic est obsolète et sera supprimée dans une future version. New Relic vous encourage vivement à mettre à niveau vers une version prise en charge de PHP - 7.3 ou supérieure à la date de cette sortie. Si vous souhaitez continuer à exécuter l’agent PHP New Relic avec PHP 5.3 et 5.4, nous vous recommandons d’utiliser la version 9.15 de l’agent pour une compatibilité maximale. Cependant, veuillez noter que nous ne pouvons offrir qu’une assistance limitée dans ce cas.
  • Cette sortie marque le dernier agent PHP New Relic officiellement pris en charge pour CentOS 5.
  • Les builds MacOS de l'agent PHP New Relic ne seront plus fournis, et nous n'assurerons plus la compatibilité sur les plateformes MacOS.
  • Pour plus d’informations sur ces avis d’EOL, consultez notre publication sur l’Explorers Hub.

Nouvelles fonctionnalités

Débogage

Déclaration de soutien

  • New Relic recommande de mettre à jour l'agent régulièrement et au minimum tous les 3 mois. À partir de cette sortie, la plus ancienne version prise en charge est la 8.4.0.

October 29, 2020
PHP agent v9.14.0.290

New Features

The PHP agent is now open source!

The agent source code is available and open to contributions. You can now report issues and make feature requests for the agent directly on GitHub. See our README for more information.

Bug Fixes

  • Under some circumstances, the agent reported a total time higher than the response time when using Zend_Http_Client. This has been fixed.
  • The agent leaked a small amount of memory for each fulfilled Guzzle promise. This has been fixed.
  • Calls to newrelic_insert_distributed_trace_headers could cause crashes on PHP 7.0, 7.1, and 7.2. This has been fixed.
  • In rare cases, using Guzzle with WordPress and PHP 7.4 caused crashes. This has been fixed.

August 17, 2020
PHP agent v9.13.0.270

New Features

  • Support has been added for Slim Framework 4.x.
  • Support has been added for Laravel 7.x.

Bug Fixes

  • Users of newrelic_record_datastore_segment may have experienced situations where the total transaction time was higher than the response time. This was fixed and users will see behavior consistent with automatically created datastore segments.
  • Previously, WordPress plugins referred to by their path names were not accounted for in caching. This behavior has been fixed, and users to which this applies to should see improvements in overhead.

July 21, 2020
PHP agent v9.12.0.268

New Features

  • With the addition of attributes on spans, the PHP agent now fully supports Infinite Tracing on New Relic Edge.

    Infinite Tracing observes 100% of your distributed traces and provides visualizations for the most actionable data so you have the examples of errors and long-running traces so you can better diagnose and troubleshoot your systems. You configure your agent to send traces to a trace observer in New Relic Edge. You view your distributed traces through the New Relic’s UI. There is no need to install a collector on your network.

    Infinite Tracing is currently available on a sign-up basis. If you would like to participate, please contact your sales representative.

  • Added support for attributes on spans. All custom attributes and some agent attributes previously applied as “Transaction events” are now also applied to the currently executing span, subject to the new span configuration settings.

    • Added the transaction.name to spans.

    • Added http.statusCode to external spans, representing the status code on an http response.

    • Added error attributes to each span that exits with an error or exception. error.class and error.message are now included on the span in which an error or exception was noticed, and, in the case of unhandled exceptions, on any ancestor spans that also exit with an error. Also, the public API method newrelic_notice_error now attaches these error attributes to the currently executing span, while still creating a Transaction Error event.

      Spans with error details are now highlighted red in the distributed tracing UI, and error details will expose the associated error.class and error.message. It is also now possible to see when an exception leaves the boundary of the span, and if it is caught in an ancestor span without reaching the entry span. NOTE: This “bubbling up” of exceptions will impact the error count when compared to prior behavior for the same trace. It is possible now to have a trace that has span errors without showing an error on the root span or entry spans.

    • Added a new API method newrelic_add_custom_span_parameter that allows adding custom attributes to spans. This is independent of the transaction; using this new API to add custom attributes to spans does not add them to transactions. If the maximum number of custom attributes is reached, span-level custom attributes take precedence over transaction-level custom attributes.

    • Added the following span event attributes configuration to enable attribute filtering for spans:

      Note: Security recommendation—Review your Transaction attributes configuration. Any attribute include or exclude settings specific to Transaction events, should be applied to your Span attributes configuration or your global attributes configuration.

Bug Fixes

  • In cases where the agent is configured to connect to the hostname of a daemon that exists in a separate container/host, after successfully connecting, the agent would not attempt to resolve the IP address again. This was seen when the daemon container/host goes down and then comes up again with a new IP address. Now, the agent will wait 45 seconds since either the last known good connection or the last IP address resolution and will attempt to resolve an IP address again.

June 16, 2020
PHP agent v9.11.0.267

New Features

Bug Fixes

  • In some cases the newrelic-daemon got caught in an infinite loop on startup when the socket it tried to connect to was already acquired by another process. This behavior has been accounted for and fixed.

May 5, 2020
PHP agent v9.10.1.263

Bug Fixes

  • In some cases, instrumenting Laravel queue applications while having distributed tracing turned on could potentially lead to a segfault. This has been fixed.

April 29, 2020
PHP agent v9.10.0.262

Bug Fixes

  • In some rare cases where requests to cloud provider metadata endpoints are blocked via certain methods, the PHP Daemon logged panics from the underlying Go HTTP library. This scenario is now accounted for and handled gracefully.

Upgrade notices

  • On Linux systems, the default value for newrelic.daemon.address changed from /tmp/.newrelic.sock to @newrelic. This means that by default on Linux, agent and daemon communicate via abstract sockets instead of socket files.
  • The PHP Agent installer for Ubuntu/Debian systems now requires Python 3. Debian based distributions with Python 2 are no longer supported.

End of life notices

Droits d'auteur © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.