Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

How to install & configure APM agent for WordPress on Docker (ECS)

wordpress
new-moderation-topic
mod_queue

#1

We have Docker containers on AWS (ECS) hosting WordPress with PHP 7.2.9 (7-fpm-stretch)
We also use MySQL. Any specific recommandations (we’re not sure the PHP framework we use, is not mentioned here: https://docs.newrelic.com/docs/agents/php-agent/getting-started/php-agent-compatibility-requirements)
Thank you.


#2

Hello @edo1,

The PHP agent will monitor Wordpress in Docker containers.

Instructions on setting that up can be found here:

If your framework is not automatically detected, the workaround would be to use our newrelic_name_transaction() API call to add meaningful transaction names:

I hope this helps. Let me know of further questions!


#3

Works fine with php:7-fpm-stretch. Thank you.