gpt4 book ai didi

php - 暂时禁用 blackfire 模块

转载 作者:行者123 更新时间:2023-12-05 01:02:04 28 4
gpt4 key购买 nike

我已经成功安装了 blackfire 代理、cli 工具和探针,并且工作正常。我在使用 bf 进行分析时禁用了 xdebug 模块。

现在我想像以前一样使用 xdebug,但是 xdebug 不起作用,它只是不会进入调试 session 。没有断点,甚至 xdebug_break 都不起作用。制片人网站上的一句话说:

Known incompatibilities

Please note that PHP compiled with debug are not supported and that the Probe may conflict with XDebug or XHProf; disable those extensions when enabling the Probe.

有没有办法在卸载整个 blackfire 工具链的情况下禁用 blackfire 代理?将文件 /etc/php5/conf.d/90-blackfire.ini 移动到备份位置不起作用。

更新有效的是卸载 php 代理 sudo apt-get remove blackfire-php。但我很确定一定有更好的解决方案。

最佳答案

您可以简单地编辑文件 /etc/php5/conf.d/90-blackfire.ini 并注释以下行 extension=blackfire.so。不要忘记重启 apache2 或 php-fpm

关于php - 暂时禁用 blackfire 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37161359/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com