Xdebug not as zend extension IIS7

后端 未结 1 1493
暖寄归人
暖寄归人 2021-02-09 13:32

I can\'t get xdebug loaded as Zend extension, because the php.ini automatically puts in the wrong term.

The message in phpi

相关标签:
1条回答
  • 2021-02-09 13:52

    (Solved by the OP and answered in a question edit. Converted to a community wiki answer. See Question with no answers, but issue solved in the comments (or extended in chat) )

    The OP wrote:

    It now works after changing the extension path to absolute. The 2 lines were added anyway, but phpinfo() now shows the full xdebug config.

    Working part of php.ini:

    [PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
    zend_extension="C:\Program Files (x86)\php\ext\php_xdebug-2.2.0-5.3-vc9-nts.dll"
    xdebug.remote_enable=1
    xdebug.remote_host="localhost"
    xdebug.remote_port=9000
    xdebug.remote_handler="dbgp"
    [PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
    extension=php_xdebug-2.2.0-5.3-vc9-nts.dll
    
    0 讨论(0)
提交回复
热议问题