win10 php command报错 Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
-
打开php.ini
-
找到extension=php_xdebug注释掉
-
[Xdebug] zend_extension=D:/development/php/phpstudy_pro/Extensions/php/php7.3.4nts/ext/php_xdebug.dll xdebug.collect_params=1 xdebug.collect_return=1 xdebug.auto_trace=Off xdebug.trace_output_dir=D:/development/php/phpstudy_pro/Extensions/php_log/php7.3.4nts.xdebug.trace xdebug.profiler_enable=Off xdebug.profiler_output_dir ="D:\development\php\phpstudy_pro\Extensions\tmp\xdebug" xdebug.remote_enable=Off xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler=dbgp
此处zend_extension已开启php xdebug扩展,此为zend_extension.