blackfire を使用して、symfony の php コマンドをプロファイリングしたいと考えています。Mac OS の場合は、こちらのhttps://blackfire.io/getting-startedの開始セクションに従います。
次に、Blackfire をテストするために、この内容でファイル test.php を作成します。
<?php
echo "Hello World !";
しかし、私がするとき
blackfire run php test.php
エラーが発生した:
PHP Warning: PHP Startup: blackfire: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
Warning: PHP Startup: blackfire: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
私のphp.iniの次のコードを削除すると、エラーは発生しませんが、Blackfireはデバッグの結果を確認するためのURLを提供しません
[blackfire]
extension="/usr/local/Cellar/blackfire-php56/1.0.0/blackfire.so"
blackfire.agent_timeout = 0.25
誰か助けてくれませんか?