Installing Blackfire on Fedora and some findings
This post will shine a light on some gems I found when installing Blackfire on Fedora.
Installation
I started installing blackfire, because I was curious about bottlenecks of some web application.
– these steps are primarily inspired by Blackfire’s installation guide
Blackfire and Remi’s RPM Repository
Currently on my development environment, I have 3 PHP versions running. That’s made possible by Remi’s RPM Repository.
They are packages from a different repository and all prefixed like php70-
, php71-
and php72-
. It seemed very logical to me that I copy some files to get Blackfire working on all my PHP versions.
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:
Conclusion
Now I don’t know yet how this is made possible(I’m going to do some further research), but I thought it’s actually pretty cool that one package like blackfire-php
gets integrated so well into my development environment.