php版本7.0.1想要安装xdebug

时间:2016-01-30 21:07:02

标签: php debugging

我尝试了所有不同的东西,但没有一个有用,需要你的专家建议。

这就是我所拥有的(PHP 7.0.1,以及DLL插件)

PHP Version 7.0.1

Build Date  Dec 16 2015 13:32:01
Compiler    MSVC14 (Visual C++ 2015)
Architecture    x86
Configure Command   cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-sdk\oracle\x86\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-sdk\oracle\x86\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo"
Server API  Apache 2.0 Handler
Virtual Directory Support   enabled
Configuration File (php.ini) Path   C:\Windows
Loaded Configuration File   D:\NewPHP7\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed    (none)
PHP API 20151012
PHP Extension   20151012
Zend Extension  320151012
Zend Extension Build    API320151012,TS,VC14
PHP Extension Build API20151012,TS,VC14
Debug Build no
Thread Safety   enabled
Zend Signal Handling    disabled
Zen Memory Manager  enabled
Zend Multibyte Support  provided by mbstring

我使用了"定制的安装说明",这是它给出的内容

Summary

Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: yes - Compiler: MS VC14 - Architecture: x86
Zend Server: no
PHP Version: 7.0.1
Zend API nr: 320151012
PHP API nr: 20151012
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\Windows
Configuration File: D:\NewPHP7\php\php.ini
Extensions directory: D:\NewPHP7\php\ext
Instructions

Download php_xdebug-2.4.0rc4-7.0-vc14.dll
Move the downloaded file to D:\NewPHP7\php\ext
Edit D:\NewPHP7\php\php.ini and add the line
zend_extension = D:\NewPHP7\php\ext\php_xdebug-2.4.0rc4-7.0-vc14.dll
Restart the webserver

我完成了已告知的每一步,仍然不会等待程序运行。

[XDebug]
;zend_extension = "D:\NewPHP7\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "D:\NewPHP7\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.remote_enable = 0
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "127.0.0.1"
;xdebug.trace_output_dir = "D:\NewPHP7\tmp"
;zend_extension ="D:\NewPHP7\php\ext\php_xdebug-2.4.0rc4-7.0-vc14-nts-x86_64.dll
;zend_extension ="D:\NewPHP7\php\ext\php_xdebug-2.4.0rc4-5.4-vc9-nts.dll
;zend_extension_ts="D:\NewPHP7\php\ext\php_xdebug-4.4.1-2.0.5.dll"

zend_extension = D:\NewPHP7\php\ext\php_xdebug-2.4.0rc4-7.0-vc14.dll
xdebug.remote_enable=1 
xdebug.remote_handler="dbgp"
xdebug.remote_host="localhost" 
xdebug.remote_port=9000 
xdebug.remote_mode=req 
xdebug.idekey=default 
xdebug.remote_log="d:\tmp\xdebug\xdebug.log" 
xdebug.show_exception_trace=0 
xdebug.show_local_vars=9 
xdebug.show_mem_delta=0 
xdebug.trace_format=0 
xdebug.profiler_enable  = 1 
xdebug.profiler_output_dir ="d:\tmp\xdebug"

需要您的专家建议来解决此问题。已经好几天了。

0 个答案:

没有答案