需要PHP7 netbeans 8.1调试器支持,如何使其工作?

需要PHP7 netbeans 8.1调试器支持,如何使其工作?,php,debugging,netbeans,xdebug,php-7,Php,Debugging,Netbeans,Xdebug,Php 7,我使用Netbeans 8.1在PHP中进行开发,最近我安装了PHP7,xDebug不再工作。 我喜欢使用Netbeans,我需要使用PHP7 有没有办法配置Netbeans和Apache以支持调试? (我用PHP7安装了XAMPP) 我查看了这些站点,但没有发现任何运气: 据我所知,PHP7不支持xdebug,但如果您设法使其工作,请与我分享。用于PHP7的xdebug的第一个版本对我不起作用。最近的版本确实有效 以下是我目前正在使用的配置文件php7/xdebug/netbeans:

我使用Netbeans 8.1在PHP中进行开发,最近我安装了PHP7,xDebug不再工作。 我喜欢使用Netbeans,我需要使用PHP7

有没有办法配置Netbeans和Apache以支持调试? (我用PHP7安装了XAMPP)

我查看了这些站点,但没有发现任何运气:


据我所知,PHP7不支持xdebug,但如果您设法使其工作,请与我分享。

用于PHP7的xdebug的第一个版本对我不起作用。最近的版本确实有效

以下是我目前正在使用的配置文件php7/xdebug/netbeans:

    Client
    Product Version: NetBeans IDE 8.1 (Build 201510222201)
    Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
    Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
    Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
    System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb)

    Server
    Apache : 2.4.18-win64-VC14
    PHP Version 7.0.3RC1
    Windows Server 2012 R2 Standard Edition AMD64

    php.ini
    [xdebug]
    zend_extension = <php_install_path>/ext/php_xdebug-2.4.0rc4-7.0-vc14-x86_64.dll
    xdebug.remote_enable = On
    xdebug.remote_host=<my_IP_(using_VPN)>
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
    xdebug.idekey="netbeans-xdebug"
    output_buffering=off
    xdebug.remote_cookie_expire_time=360000
客户端
产品版本:NetBeans IDE 8.1(构建201510222201)
更新:NetBeans IDE更新为版本NetBeans 8.1修补程序1
Java:1.8.0_60;Java热点(TM)64位服务器VM 25.60-b23
运行时:Java(TM)SE运行时环境1.8.0_60-b27
系统:运行在amd64上的Windows 7 6.1版;Cp1252;fr_fr(nb)
服务器
Apache:2.4.18-win64-VC14
PHP版本7.0.3RC1
Windows Server 2012 R2标准版AMD64
php.ini
[xdebug]
zend_extension=/ext/phpxdebug-2.4.0rc4-7.0-vc14-x86_64.dll
xdebug.remote_enable=On
xdebug.remote\u主机=
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.idekey=“netbeansxdebug”
输出缓冲=关闭
xdebug.remote\u cookie\u expire\u time=360000
在Netbeans中,我确实设置了路径映射值


希望这能有所帮助。

用于php7的xdebug的第一个版本对我不起作用。最近的版本确实有效

以下是我目前正在使用的配置文件php7/xdebug/netbeans:

    Client
    Product Version: NetBeans IDE 8.1 (Build 201510222201)
    Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
    Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
    Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
    System: Windows 7 version 6.1 running on amd64; Cp1252; fr_FR (nb)

    Server
    Apache : 2.4.18-win64-VC14
    PHP Version 7.0.3RC1
    Windows Server 2012 R2 Standard Edition AMD64

    php.ini
    [xdebug]
    zend_extension = <php_install_path>/ext/php_xdebug-2.4.0rc4-7.0-vc14-x86_64.dll
    xdebug.remote_enable = On
    xdebug.remote_host=<my_IP_(using_VPN)>
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
    xdebug.idekey="netbeans-xdebug"
    output_buffering=off
    xdebug.remote_cookie_expire_time=360000
客户端
产品版本:NetBeans IDE 8.1(构建201510222201)
更新:NetBeans IDE更新为版本NetBeans 8.1修补程序1
Java:1.8.0_60;Java热点(TM)64位服务器VM 25.60-b23
运行时:Java(TM)SE运行时环境1.8.0_60-b27
系统:运行在amd64上的Windows 7 6.1版;Cp1252;fr_fr(nb)
服务器
Apache:2.4.18-win64-VC14
PHP版本7.0.3RC1
Windows Server 2012 R2标准版AMD64
php.ini
[xdebug]
zend_extension=/ext/phpxdebug-2.4.0rc4-7.0-vc14-x86_64.dll
xdebug.remote_enable=On
xdebug.remote\u主机=
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.idekey=“netbeansxdebug”
输出缓冲=关闭
xdebug.remote\u cookie\u expire\u time=360000
在Netbeans中,我确实设置了路径映射值


希望这能有所帮助。

我安装了新版本的Netbeans 8.1,我花了很多时间寻找调试php 7的解决方案,所以我可能会分享我的配置:

[XDebug]
zend_extension ="C:\xampp\php\ext\php_xdebug-2.4.0rc4-7.0-vc14.dll"
xdebug.remote_enable = 1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.idekey=netbeans-xdebug
output_buffering=off
xdebug.remote_cookie_expire_time=360000

我安装了新版本的Netbeans 8.1,并花了大量时间寻找调试php 7的解决方案,因此我可能会分享我的配置:

[XDebug]
zend_extension ="C:\xampp\php\ext\php_xdebug-2.4.0rc4-7.0-vc14.dll"
xdebug.remote_enable = 1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.idekey=netbeans-xdebug
output_buffering=off
xdebug.remote_cookie_expire_time=360000

要下载适用于php7的xdeubg,请选择与您的php版本匹配的版本。

我的设置如下:

zend_extension = "c:/xampp/php/ext/php_xdebug.dll"
xdebug.idekey = netbeans-xdebug
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:/xampp/tmp/xdebug"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_autostart = 0
xdebug.remote_connect_back = 0
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_handler = "dbgp"
xdebug.remote_mode = req
xdebug.remote_log = "c:/xampp/tmp/xdebug/xdebug_remot.log"
xdebug.show_local_vars = 9
xdebug.trace_output_dir = "c:/xampp/tmp"
xdebug.max_nesting_level=1100
xdebug对我来说很好用。
祝您好运

要下载适用于php7的xdeubg,请选择与您的php版本匹配的版本。

我的设置如下:

zend_extension = "c:/xampp/php/ext/php_xdebug.dll"
xdebug.idekey = netbeans-xdebug
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:/xampp/tmp/xdebug"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_autostart = 0
xdebug.remote_connect_back = 0
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_handler = "dbgp"
xdebug.remote_mode = req
xdebug.remote_log = "c:/xampp/tmp/xdebug/xdebug_remot.log"
xdebug.show_local_vars = 9
xdebug.trace_output_dir = "c:/xampp/tmp"
xdebug.max_nesting_level=1100
xdebug对我来说很好用。
祝你好运

Xdebug>=2.4支持PHP7,可能检查你安装的版本?我如何检查Xdebug版本?Xdebug>=2.4支持PHP7,可能检查你安装的版本?我如何检查Xdebug版本?这对我不起作用,我有最新的PHP7.0.4和netbeans 8.1这对我不起作用,我有最新的PHP7.0.4和netbeans 8.1