• Print
  • Share
  • Dark
    Light

PHP APM Troubleshooting Guide

  • Updated on 12 Nov 2018
  • 1 minute to read
  • Contributors

Verify Compatibility

PHP Version Support

  • Stackify supports PHP versions 5.4 to 5.6 and 7.0 to 7.2.

Web Server Support

  • Apache 2 (mod_php)

  • Nginx (PHP-FPM)

Verify Extension Installation

1. Create an info.php file w/ the following contents:

<?php
   phpinfo();
?>

2. Using a web browser access the info.php page. Search for the stackify module.

2018-08-27 PHP Troubleshooting .png

3. If stackify is not shown, restart web server and refresh browser.

4. If stackify is still not shown, verify that the extensions directory contains stackify.so and Stackify.php. Extension directory is identified as extension_dir in the info.php results.

  • 4a. If the extensions directory does not contain the stackify files, a manual linking is required.

  • 4b. Symlinks can be used to setup the stackify extension files:

sudo ln -s /usr/local/stackify/stackify-php-apm/stackify.so [extension_dir]/stackify.so
sudo ln -s /usr/local/stackify/stackify-php-apm/Stackify.php [extension_dir]/Stackify.php
  • 4c. Restart web server and refresh the browser view of info.php.

5. If Application Name and/or Environment Name are not shown in the stackify module, verify that the following contents are added to the php.ini. Location of php.ini can be found in the info.php property Loaded Configuration File (Restart web server and refresh browser).

[stackify]
extension=stackify.so
stackify.application_name=Sample Application
stackify.environment_name=Test
Was this article helpful?