Laravel Homestead, getting blackfire working

Here’s how I got it working, HTH

# Edit out homestead settings
homestead edit
# Enter your details, https://blackfire.io/account/credentials
# See re-provision your homestead box
vagrant global-status
vagrant provision ???? # << this is the id of the homestead instance you have running, from global-status
# So far this didn't work so carry on…
# Get in there
homestead ssh
# update the blackfire agent and php, this is taken from https://blackfire.io/doc/upgrading (Debian)
sudo apt-get update
sudo apt-get install –only-upgrade blackfire-agent
sudo /etc/init.d/blackfire-agent restart
sudo apt-get install –only-upgrade blackfire-php
sudo blackfire-agent -register
# Enter your details, https://blackfire.io/account/credentials
sudo /etc/init.d/blackfire-agent restart
# Now try the chrome profiler again on your page!

view raw
gistfile1.sh
hosted with ❤ by GitHub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s