


Lrwxrwxrwx 1 root root 50 Jun 14 10:59 /opt/remi/php70/root/lib64/php/modules/blackfire.so -> /usr/lib/blackfire-php/amd64/blackfire-20151012.so Conclusion Open Blackfire Account Credentials to find your API keys. The Blackfire agent can be configured via a configuration file, flags passed to the binary, or environment variables. Using Blackfire Profiler service to profile your PHP applications. This is a service - or 'daemon' - that runs on your computer - or on your production machine. Blackfire.io: Continuous Performance Testing. The Blackfire agent can be configured via a configuration file, flags passed to the binary, or environment variables.
INSTALL BLACKFIRE PHP AGENT INSTALL
$ ls -l /opt/remi/php70/root/lib64/php/modules/blackfire.so The second thing we will need to install is called the 'agent'. I was ready to copy /etc/php.d/zz-blackfire.ini to /etc/opt/remi/php70/php.d/zz-blackfire.ini, but surprisingly the latter already existed: $ ls -l /etc/opt/remi/php70/php.d/zz-blackfire.ini It seemed very logical to me that I copy some files to get Blackfire working on all my PHP versions. They are packages from a different repository and all prefixed like php70-, php71- and php72-. nodeblackfireagentversion - Sets which version of the agent to install. From this chapter on, we will focus on using Blackfire on PHP code. This was the easiest way to get us started, but now it’s time for you to use Blackfire on your own projects. That’s made possible by Remi’s RPM Repository. Blackfire for PHP Integrations PHP Probe with Docker PHP Probe with Docker PHP Enabling the PHP Probe Docker Compose Using the Client for CLI Profiling Debugging the PHP Probe Installing the Agent Enabling the PHP Probe To be able to use Blackfire, add the probe to your Docker PHP image. Up until now, we have used the Blackfire browser extension to profile a project hosted on Blackfire servers. – these steps are primarily inspired by Blackfire’s installation guide Blackfire and Remi’s RPM RepositoryĬurrently on my development environment, I have 3 PHP versions running. Sudo blackfire-agent -register sudo systemctl enable blackfire-agent I started installing blackfire, because I was curious about bottlenecks of some web application. This post will shine a light on some gems I found when installing Blackfire on Fedora.
