We regularly provide new versions of the different components. Therefore, it's highly recommended that you upgrade on a regular basis to benefit from the new features.
Latest Version | Installed Version | |
---|---|---|
Agent/Client | 1.22.1 | blackfire-agent -v |
Probe | 1.24.4 | php --ri blackfire |
Chrome/Firefox Companion | 1.18.2 |
Update the Debian repository:
sudo apt-get update
Upgrade the blackfire-agent
package:
sudo apt-get install --only-upgrade blackfire-agent
Restart the agent service:
sudo /etc/init.d/blackfire-agent restart
Upgrade the blackfire-php
package:
sudo apt-get install --only-upgrade blackfire-php
To finish the probe upgrade, restart your web server or PHP-FPM and check that there are no error messages. To debug problems, you can change the log level and the log file in the probe configuration.
Upgrade the blackfire-agent
package:
sudo yum update blackfire-agent
Restart the agent service:
sudo /etc/init.d/blackfire-agent restart
Upgrade the blackfire-php
package:
sudo yum update blackfire-php
To finish the probe upgrade, restart your web server or PHP-FPM and check that there are no error messages. To debug problems, you can change the log level and the log file in the probe configuration.
Update the Blackfire repository:
brew update
Upgrade the blackfire-agent
package:
brew upgrade blackfire-agent
Restart the service by unload it and load it again:
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.blackfire-agent.plist && launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.blackfire-agent.plist
If you use Homebrew-PHP,
execute the command below and replace 56
by the installed
PHP version:
brew upgrade blackfire-php56
To finish the probe upgrade, restart your web server or PHP-FPM and check that there are no error messages. To debug problems, you can change the log level and the log file in the probe configuration.
You are strongly advised to use the other installation methods available if possible as they give you seamless upgrade methods.
Upgrading manually is the same as the installation procedure.