Problem
newrelic module section does not appear in phpinfo()
.
Solution
A missing newrelic
module description section in the phpinfo()
page indicates that the newrelic.so
file may not have been installed in the extensions directory. To determine whether the New Relic PHP module exists:
- In your
phpinfo()
page, look for the PHP Core section. - To identify the directory from where your PHP extensions are loaded, find the local value of the
extension_dir
setting. - Verify that
newrelic.so
is present in the directory specified byextension_dir
.
If newrelic.so
file is not present in your extensions directory, either:
Follow New Relic's non-standard PHP installation procedures.
OR
Manually link in the correct version from
/usr/lib/newrelic-php5/agent/x32
for 32 bit, or/usr/lib/newrelic-php5/agent/x64
for 64-bit. Or, if you installed from a tar file, copy or link from the agent directory where you extracted the tar file.
Sample phpinfo FIle, Core section: Check the directory specified by extension_dir and verify that newrelic.so
is present, If data does not appear on your APM Summary page within a few minutes after configuring and restarting your webserver and PHP.
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。