PHP XDEBUG未启用

无法启用XDEBUG.任何帮助或检查是否已启用且未反映?我在PHP7上,正在使用Xdebug 2.4.0rc2. PHP.INI设置如下:

[XDebug]
zend_extension="C:/php/ext/php_xdebug.dll"

xdebug.remote_enable = on
xdebug.remote_host = localhost
xdebug.remote_port = 10000
xdebug.remote_handler = dbgp
xdebug.profiler_enable = 1 
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = "profilerlogs"
xdebug.profiler_output_name = cachegrind.out.%p

无法启用它.步骤是正确的,但也没有显示安装在phpinfo()中.

解决方法:

我对XAMPP PHP7有同样的问题,现在它已经解决了:)
C:/ php / ext /目录中应该有丢失或错误的扩展文件.

这将解决您的问题.

>转到xDebug
>下载Xdebug 2.4.0rc1(PHP 7.0 VC14 TS 32/64)
>将其重命名为php_xdebug.dll
>将此文件粘贴到“php / ext”文件夹中
>重新启动服务器.

现在检查你的phpinfo()

在我的情况下有64位版本所以我刚刚改为32位

上一篇:php – 增加嵌套函数调用限制


下一篇:php – 带有虚拟机的端口9000上的XDebug – EADDRINUSE ::: 90000