The xdebug extension is not loaded

后端 未结 6 2364
日久生厌
日久生厌 2021-02-19 23:06

I\'ve got xdebug installed fine (showing up in phpinfo()) but I\'m trying to get it to work with PHPUnit\'s code coverage functionality. It keeps telling me \"The XDebug extensi

6条回答
  •  不思量自难忘°
    2021-02-19 23:16

    Type php --ini on cmd and go to the php.ini file shown.

    This php.ini need to have XDEbug configuration...

    Mine is:

        
    [XDebug]
    ; Only Zend OR (!) XDebug
    zend_extension=C:\wamp\bin\php\php5.3.0\ext\php_xdebug-2.0.5-5.3-vc6.dll
    ; XAMPP and XAMPP Lite 1.7.0 and later come with a bundled xdebug at /php/ext/php_xdebug.dll, without a version number.
    xdebug.remote_enable=1
    xdebug.remote_host=127.0.0.1
    xdebug.remote_port=9000
    ; Port number must match debugger port number in NetBeans IDE Tools > Options > PHP
    xdebug.remote_handler=dbgp
    xdebug.profiler_enable=1
    xdebug.profiler_output_dir="c:\wamp\xdebug"
    xdebug.var_display_max_depth = 10
    xdebug.var_display_max_data = 2048
    

    (please consider the breaking lines)

提交回复
热议问题