PHP APM with Linux
  • 1 Minute to read
  • Dark
    Light
  • PDF

PHP APM with Linux

  • Dark
    Light
  • PDF

Article Summary

This document details how to install the PHP APM Profiler in your PHP application running on Linux.

Prerequisite

Follow the Retrace Linux Install Guide.

Enable the Stackify PHP Extension

Find the location of your php.ini file add the following section to it - adjust application and environment names.

[stackify]
extension=stackify.so
stackify.application_name=My PHP Application
stackify.environment_name=Production
Restart Your Web Server
After modifying your php.ini file, you must now restart your web server and PHP application server.

Please restart any of the following:

  • PHP-FPM
  • NGINX
  • Apache
sudo service ABC_XYZ restart

Was this article helpful?