• Share
  • Dark
    Light

Getting Started

  • Updated on 30 Jul 2018
  • 1 minute to read
  • Contributors 

Retrace offers many basic and advanced features. In this article we will try to outline all of the amazing things that Retrace can do for your PHP application.

PHP in Beta!Support for PHP is currently in beta. It is not recommended for production usage until you have thoroughly tested it in a pre-production environment.

Step 1. Install Retrace

The first thing you need to do is install the Retrace monitoring agent on your server.

Standard Installs

Linux Only CurrentlyCurrently, only PHP on Linux is supported. We are working on Windows support and it will be available when we get to v1.0 general availability.

Step 2. Enable the Stackify PHP Extension

Find the location of your PHP.ini file add the following section to it. We suggest naming your application name and specifying an environment name like Production, QA, etc.

[stackify]
extension=stackify.so
stackify.application_name=Test Application
stackify.environment_name=QA

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

Step 3. Send Your Logs to Retrace

You can send your applications logs to Retrace with multiple PHP logging frameworks. Be sure to send your logs to take full advantage of Retrace's error tracking and centralized logging features. Errors are also used as part of Retrace's "App Scoring" feature.

How to Configure PHP Logging

Step 4. Deployment Tracking

Notify Retrace when you do a new deployment to get advanced reporting features. This makes it easy to see how performance changes after a new deployment. Popular tools like Team City, Jenkins, Bamboo and others are supported. View our docs to learn more.