Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blackfire.so not loaded #15

Open
mbrodala opened this issue Jul 25, 2016 · 0 comments
Open

blackfire.so not loaded #15

mbrodala opened this issue Jul 25, 2016 · 0 comments

Comments

@mbrodala
Copy link

We are using the PHP PPA of Ondřej Surý in our Vagrant/Puppet/Hiera setup and following the advice in #11 we are setting the newly added ini_path accordingly:

blackfire::php:
  ini_path: "/etc/php/5.6/mods-available/blackfire.ini"

This works fine as far as creating /etc/php/5.6/mods-available/blackfire.ini with a few INI settings.

However, the extension=blackfire.so line is missing here. Manually adding that line alone also won't help:

$ php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/blackfire.so' - /usr/lib/php/20131226/blackfire.so: cannot open shared object file: No such file or directory in Unknown on line 0

In this case the correct path would be /usr/lib/blackfire-php/amd64/blackfire-20131226.so. It only works with extension=/usr/lib/blackfire-php/amd64/blackfire-20131226.so which is not really an option since the PHP API version can change.

How can we integrate this properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant