【问题标题】:Disabling XDebug on Primary Vagrant在主要 Vagrant 上禁用 XDebug
【发布时间】:2015-05-20 11:00:09
【问题描述】:

是否有任何简单/正确的方法可以在 Primary Vagrant 框中禁用 Xdebug?

我尝试在 /manifests/custom/php.pp puppet 文件中设置 xdebug PHP.ini vars,但没有成功。也没有运气评论 /manifests/init.pp 中的 xdebug 行。

还有什么建议吗?

【问题讨论】:

    标签: vagrant puppet xdebug


    【解决方案1】:

    查找:'xdebug.ini'

    /etc/php/7.0/cli/conf.d/20-xdebug.ini
    /etc/php/7.0/fpm/conf.d/20-xdebug.ini
    /etc/php/mods-available/xdebug.ini
    

    然后用';'注释

    ;zend_extension=xdebug.so
    

    然后重启你的 nginx 服务器

    sudo service nginx restart
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-12-02
      • 1970-01-01
      • 1970-01-01
      • 2017-04-18
      • 2018-03-03
      • 2020-04-04
      • 2019-12-09
      相关资源
      最近更新 更多