PHP on Windows
  • 1 Minute to read
  • Dark
    Light
  • PDF

PHP on Windows

  • Dark
    Light
  • PDF

Article summary

Limited Support

At this time, only PHP v8+ is supported for profiling.

1. Download and install the Prefix executable file:
Check out the Getting Started Prefix page to download and install Prefix on your workstation.

2. During the Prefix Installation:
Check the box to include the PHP profiler in your installation

3. Browse or Copy the directory of your php.ini file
The Prefix Installer will prompt you for this location.

4. Configure the PHP profiler:
i. Add php_stackify.dll and Stackify.php to your ext folder
ii. In your php.ini add the extension for your ext directory

extension_dir = "[Path_ext_ directory]" 

iii. Add the following to your php.ini

[stackify]
extension=php_stackify.dll
stackify.prefix_enabled=1
stackify.application_name="ApplicationName"
stackify.environment_name="Development"

Replacing stackify.application_name and stackify.environment_name with the name of your application and environment as you would like them to show in Prefix.

5. Verify your requests show in Prefix


Was this article helpful?

What's Next