--- title: "PHP APM with Plesk" slug: "php-apm-with-plesk" description: "Learn how to install Stackify PHP Profiler on Plesk. Install Retrace monitoring agent & enable the PHP extension. Follow the guide for a smooth setup." updated: 2020-04-16T19:43:05Z published: 2020-04-16T19:43:05Z canonical: "docs.stackify.com/php-apm-with-plesk" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.stackify.com/llms.txt > Use this file to discover all available pages before exploring further. # PHP APM with Plesk This guide walks you through additional steps required to get the **Stackify PHP Profiler** installed with **Plesk**. ## Step 1. Install Retrace The first thing you need to do is install the Retrace monitoring agent on your server. **Standard Installs** Linux Only Currently Currently, only PHP on Linux is supported. - [Linux Agent](/docs/java-agent-linux-install) - ~~[Windows Agent](/docs/net-agent-installation-overview)~~ ## Step 2. Enable the Stackify PHP Extension Determine at which level you would like to customize your installation. Configuration can be set at any of the following: - Domain - Subscription - Website [Plesk - Customizing PHP Configuration](https://docs.plesk.com/en-US/onyx/reseller-guide/understanding-service-plans-and-subscriptions/properties-of-hosting-plans-addons-and-subscriptions/hosting-parameters/customizing-php-configuration.69939/) Add the following to your PHP Settings: ``` [stackify] extension=stackify.so stackify.application_name=Test Application stackify.environment_name=QA ``` Please restart any of the following: - PHP-FPM - NGINX - Apache ``` sudo service ABC_XYZ restart ``` **Verify Extension Installation** by reviewing the **[Troubleshooting Guide](https://docs.stackify.com/docs/php-apm-troubleshooting-guide)**