Dynatrace now supports deep monitoring of Apache PHP requests via FastCGI. Until now we’ve only supported
mod_php and all types of FPM requests.
To enable monitoring of FastCGI PHP requests:
- Update your version of OneAgent to v1.99.
- Go to Settings > Monitoring > Monitored Technologies.
- Enable FastCGI in the Monitored technologies section.
- Scroll down and enable the FastCGI PHP processes launched by Apache HTTP Server switch.
- Restart your Apache HTTP server.
Many FastCGI setups bounce PHP CGI processes every few requests or following short timeouts. This is often done to avoid memory leaks. As OneAgent can slow startup slightly, this can lead to performance issues. To avoid this issue, ensure that you set up Fast CGI so that it remains alive for thousands of requests, or at least several minutes.