• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

PHP agent release notesRSS

December 13, 2011
PHP agent v2.6.5.41

重要

このエージェント バージョンのサポート終了日は 2019 年 7 月 29 日です。エージェントの最新バージョンに更新するには、 「エージェントの更新」を参照してください。詳細については、 「サポート終了ポリシー」を参照してください。

メモ:

  • aptリポジトリは現在デジタル署名されており、Ubuntu または他の Debian 系システム用にこのリポジトリからエージェントを更新するには、次のコマンドを使用して新しい GPG キーをインポートする必要があります (末尾のマイナス記号に注意してください)。

    wget -O - https://download.newrelic.com/NEWRELIC_APT_2DAD550E.public | sudo gpg --import --batch --no-default-keyring --keyring /usr/share/keyrings/download.newrelic.com-newrelic.gpg

  • Zend および Magento トランザクションの命名方法の改善を提案してくださった IGN Entertainment の Nick Calugar 氏に、心から感謝いたします。これら 2 つのフレームワークでは、トランザクションの命名がより正確になり、トランザクションの命名に使用されていた以前のメカニズムよりもオーバーヘッドが少なくなりました。これにより、Magento トランザクション名に文字化けした文字が含まれたり、PHP スクリプトのフラグメントが含まれたりすることがある問題も修正されました。どちらの場合も、トランザクションの名前は他のフレームワークと同様に「module/controller/action」になります。

  • また、ベータ テスト期間中の非常に貴重な支援と OCI8 サポートのテストにご協力いただいたダブリンの Arithon の Roderick Smyth 氏にも、心より感謝申し上げます。

  • 自動リアルユーザー監視 (auto RUM ) が大幅に改善されました。 最も重要な変更点は、自動 RUM が出力フィルターとして実装され、Drupal や Wordpress だけでなくすべてのフレームワークで機能するようになったことです。その結果、モジュールやフレームワークのその他の変更が RUM ヘッダーとフッターの挿入方法に影響を与えなくなったため、信頼性も大幅に向上しました。以前にRUMヘッダーとフッターを手動で挿入する必要があった場合は、自動RUM再度有効にして、既存の手動呼び出しをコメントアウトすることを強くお勧めします。 この変更に伴い、特定のトランザクションで自動 が実行されないようにするために呼び出すことができる新しいAPI コール「newrelic_disable_autorum()」が追加されました。RUMたとえば、AJAX 呼び出しの自動 RUM を無効にする場合があります。

  • 呼び出し方法に関係なく、同じトランザクションでヘッダーも排出されなかった場合、RUM フッターは排出されなくなりました。これにより、ヘッダーの挿入に何らかの理由で失敗した場合に JavaScript エラーが発生するのを防ぎます。

  • RUM ヘッダーとフッターがわずかに変更され、最後のスクリプト コマンドの後に欠落していたセミコロンが追加されました。これにより、一部のブラウザやコンプライアンス アナライザーが JavaScript についてエラーを報告しなくなることも防げます。

  • Redis の MemCache のような機能のサポートが追加されました。これは決してRedisの完全なサポートではなく、既存の MemCache メトリックにきれいにマップされるRedis APIの部分のみをサポートします。 これらは概要グラフに MemCache アクティビティとして表示されるため、MemCache と Redis の両方を使用する場合は、異なる SQL データベースの概要がマージされるのと同じように、データがマージされます。

  • マルチフレームワーク サイト (同じサイトの複数の部分で複数のフレームワークが使用されているサイト) のサポートが大幅に改善されました。フレームワーク固有の機能の計装がリクエストごとに分離されるようになったため、1 つの PHP インスタンスで処理される複数のrequestsフレームワークの突然の変更によって混乱することがなくなりました。

  • logrotate スクリプトはNew Relic Server モニターによってインストールされたバージョンと競合しなくなりました。

  • エージェントとデーモン間の通信にタイムアウトを実装しました。これにより、デーモンが何らかの理由で応答しなくなった場合でも、デーモンの回復を待ってエージェントがハングアップすることがなくなりました (Apache がクラッシュしたように見えることもなくなりました)。

  • エラー ハンドラー内のユーザー通知エラーを適切に無視します。

  • 非推奨だが依然として頻繁に使用されるmysql_db_query関数のサポートが追加されました。

  • Zend で外部サービスの呼び出しをより適切に追跡できるように、Zend フレームワークの Zend_Http_Client::request() メソッドのサポートが追加されました。

  • アプリケーション名を設定するときに構文newrelic.appname="%{VARIABLE}"使用できる機能が追加されました。これにより、SAPI の環境変数検索メカニズムを使用して VARIABLE が検索され、それに応じてアプリケーション名が設定されます。

  • REPLACE SQL コマンド動詞が認識され、「その他」にまとめられるのではなく、一意のメトリックが生成されます。

  • OpenSolaris 上のスレッド ミューテックスのデッドロック問題が解決されました。

  • Wikia の純粋な PHP MemCached クライアントのサポートが追加されました。

  • file_get_contents() 取得されるオブジェクトがリモートにあり、HTTP または HTTPS を使用している場合、外部サービス タブに表示されるようになりました。

  • newrelic_notice_error()には、文字列とExceptionオブジェクトを受け取る 3 番目の呼び出し形式が追加されました。文字列が指定されている場合は、それがエラーメッセージとして使用されます。 空の場合、 Exception::__toString()に似た形式のデフォルト文字列が自動的に生成され、エラーメッセージとして使用されます。 提供された例外オブジェクトは、例外のスタックト レースを作成するために使用されます。これにより、例外の表示時のスタックト レースではなく、例外発生時のスタックト レースを確認できるようになります。

  • newrelic.capture_params = trueを設定してリクエストのキャプチャを有効にすると、 New Relicに送信されるデータから除外される機密問題のカンマ区切りリストをnewrelic.ignored_paramsに設定することもできます。

  • CakePHP 2.0 のサポートが追加され、作者の Mark Story からのフィードバックに基づいて CakePHP 1.2 および 1.3 のサポートが若干改良されました。新しいトランザクション命名メカニズムにより、New Relic を有効にすると CakePHP 1.2 アプリケーションの実行速度が大幅に向上します。また、独自のカスタム ディスパッチャ クラスを実装した場合でも、トランザクションの名前が正しく付けられることが保証されます。

  • MongoDB は、 updateコマンドを正しくインストゥルメントできるようになりました。

  • インストゥルメントによってOracleデータベースのサポートが追加されました: oci_parse()oci_execute(). 2 つの最も重要な呼び出しが現在インストゥルメントで行われている他の OCI 呼び出しはありません。

  • セグメンテーション違反を引き起こす可能性があったバグが修正されました。

  • エージェントのオーバーヘッドをさらに削減するいくつかのパフォーマンス改善。

November 10, 2011
PHP agent v2.5.5.29

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • New feature: slow SQL. This is very similar to transaction traces but instead records the 10 slowest SQL statements, along with a stack trace of where the SQL was executed from in your program.
  • Fixed a bug in the automatic insertion of RUM headers and footers where they could sometimes be inserted multiple times (especially the footer).
  • The "Drupal Modules" feature can now be enabled and disabled on a per-directory basis like most other configuration settings.
  • A few minor bug fixes that had the potential for causing random agent crashes, although these were very infrequent.

November 1, 2011
PHP agent v2.4.5.26

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Very minor change to change the KB URL paths in error messages and to correct the LICENSE.txt file to include the full copyright and permissions notices for various open source components used withing the agent.

October 7, 2011
PHP agent v2.4.5.25

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Very minor change to the daemon to remove a pause on startup if the daemon happened to start within 30 seconds of the top of the minute.

October 4, 2011
PHP agent v2.4.5.24

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Fixed several coredump issues related to Drupal Modules.
  • Updated SQL parser to ignore C-style comments in SQL.
  • Added OpenSolaris x64 support.
  • Now possible to instrument internal PHP functions but only after consultation with technical support, as it adds additional overhead.

September 22, 2011
PHP agent v2.3.5.21

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Version number change. Starting with this release version numbers only use 2 segments, as in 2.3. The remaining bits simply reflect the build level.
  • Naming web transactions for several new frameworks has been added: Joomla (1.5 and 1.6), Kohana (3.1 and 3.2), Magento 1.6 and MediaWiki 1.16.
  • Drupal auto-RUM has been modified to inject the header earlier so that all CSS and JavaScript loading is taken into account, and it now also works when the advagg module is installed.
  • Drupal modules support. This needs to be enabled by setting newrelic.framework.drupal.modules=1. This will display how much time is being spent in each Drupal module, including sub-modules. When enabled this feature is accessed from the "Modules" tab of the App Server menu.
  • Support for MongoDB has been added.
  • New API call newrelic_ignore_apdex() has been added. This allows users to ignore certain time-consuming activities (such as downloading a file) from their overall apdex score.
  • PHP namespace separator () no longer causes a malformed JSON error when it appears in a transaction trace.
  • SQL parser improved to better detect table names and avoid database metric explosion on certain SQL statements.
  • Calls to Drupal's drupal_http_request()are now correctly identified as external service calls.
  • Several speed improvements to further reduce the impact when Drupal Modules support or top100 is enabled.
  • MacOSX agent no longer aborts when PCRE isn't loaded.
  • RUM scripts improved to load the footer script after the page has fully loaded so that it does not impact user-visible performance.
  • API functions newrelic_get_browser_timing_header() and newrelic_get_browser_timing_footer() now take an optional bool argument (that defaults to true) that indicates whether or not script start and end tags should be inserted around the returned JavaScript.
  • Small memory leak when adding metric names fixed.
  • Daemon startup scripts now correctly ignores comment lines

August 18, 2011
PHP agent v2.2.3.196

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Fixed up not detecting background jobs when run from cpanel
  • Corrected url path problems resulting in 500 errors for web transactions when on CakePHP

August 16, 2011
PHP agent v2.2.2.193

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Fixed a SIGSEGV that happened when Zend Guard encoded files were encountered
  • Corrected the way we were determining the domain names of external services that was causing a Transaction Traces display problem (500 error)

August 6, 2011
PHP agent v2.2.1.185

重要

The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Notes:

  • Fixes up a problem in our SQL parser that was causing Magento app segfaults when accessing admin pages

Copyright © 2025 New Relic株式会社。

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