github newrelic/newrelic-php-agent v12.13.0.43
12.13.0.43

one hour ago

New Relic PHP agent v12.13.0.43

PHP agent 12.13.0.43 tarball SHA-256 hash
newrelic-php5-12.13.0.43-linux-musl.tar.gz a7ac17752e5f686a31ac8bfc887cb256f24560a5c124183e22856906a521ed62
newrelic-php5-12.13.0.43-linux.tar.gz dca19d0a845b78dc9fc5e412c215d6534b0232428ab6e0eec05d9d82091e4f21

New Features

  • agent: keep the mysqli link metadata for the life of the link in #1325
  • agent: instrument mysqli_execute_query and mysqli::execute_query in #1354
  • installer: Ubuntu 26.04 and Alpine 3.24 verified and supported.

Security updates

  • daemon: bump go version to 1.27.4 in #1382
  • daemon: bump golang.org/x/net to 0.62.0 in #1305 and #1353
  • installer: add release-data for tarball hashes, image digests and signing key fingerprints in #1374

Bug Fixes

  • agent: give the explain connection the application's connection settings in #1316
  • agent: instrument the aliases of wrapped functions that had no wrapper in #1323
  • agent: report pgsql queries against the host of their own connection in #1319
  • agent: obfuscate PostgreSQL dollar quoted strings in #1318
  • agent: out-of-bounds read on a trailing backslash in #1333
  • agent: report Predis commands against the node they were sent to in #1321
  • agent: tie the Predis command start time to the command object in #1343
  • agent: keep PDO connection options for the explain connection across transactions in #1322
  • agent: read the SQL of a PDO statement from the statement in #1326
  • agent: close TOCTOU race on the shared daemon fd in #1359
  • agent: keep the SQL of mysqli statements across transactions in #1347
  • agent: do not call the application's error handler while the explain connection runs in #1349
  • agent: keep the SQL of pgsql prepared statements across transactions in #1348
  • agent: do not use a segment after its transaction ended during the call in #1350
  • agent: do not change the refcount of an immutable exception trace in #1332
  • agent: keep the SQL of an oci8 statement after the transaction that parsed it ended in #1351
  • agent: explain a mysqli statement that was prepared or bound in an earlier transaction in #1352
  • agent: opcache preload handling improvements in #1293
  • agent: keep segments whose span ID was sent out at transaction_tracer.detail = 0 in #1375
  • daemon: race condition in 8t debug statement in #1339

Other updates

  • installer: deprecate PHPs 7.2 and 7.3 in #1373
  • daemon: bump google.golang.org/grpc to 1.85.0 in #1305 and #1371

Support Statement

  • As previously communicated, PHP Agent support for the following library, framework and OS versions were discontinued and New Relic recommends you upgrade to the latest version supported by the vendor:

    • Drupal 7: support has been discontinued in all PHP Agent Versions since October 15, 2026
    • Drupal 9: support has been discontinued in all PHP Agent Versions since October 15, 2026
    • CakePHP 4.x: support has been discontinued in all PHP Agent Versions since November 15, 2026
    • Amazon Linux 2 (AL2): support has been discontinued in all PHP Agent Versions since November 15, 2026
    • Red Hat Enterprise Linux 8 (RHEL 8): support has been discontinued in all PHP Agent Versions since November 15, 2026
  • PHP Agent support for the following library, framework and OS versions will be discontinued and New Relic recommends you upgrade to the latest version supported by the vendor:

    • PHP 7.2 support ends December 15, 2026
    • PHP 7.3 support ends December 15, 2026
  • 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

Don't miss a new newrelic-php-agent release

NewReleases is sending notifications on new releases.