简体   繁体   English

在Wamp(2.0)中安装Xdebug

[英]Installation of Xdebug in wamp(2.0)

In php.ini file 在php.ini文件中

;xdebug Configuration

zend_extension="C:/TenthPlanet/wamp/bin/php/php5.3.0/ext/php_xdebug-2.1.2-5.3-vc6.dll" 
zend_debugger.allow_hosts=localhost
zend_debugger.expose_remotely=always 
xdebug.remote_port=9000 
xdebug.remote_handler=dbgp 
xdebug.profiler_enable=1 
xdebug.profiler_output_dir="C:/TenthPlanet/wamp/tmp/xdebug" 
xdebug.remote_enable=1
xdebug.remote_autostart=On 
xdebug.remote_host=localhost
xdebug.remote_mode=req 
xdebug.remote_log="C:/TenthPlanet/wamp/tmp/xdebug"

But its not installing. 但是它没有安装。 When i copied my phpinfo source in xdebug.org/wizrad.php its saying my compiler MSVC6 needs to be upgrade MSVC9 (microsoft visual studio C++). 当我在xdebug.org/wizrad.php中复制phpinfo源代码时,它的说法是我的编译器MSVC6需要升级MSVC9(Microsoft Visual Studio C ++)。 Then I installed the latest one but its not working. 然后,我安装了最新版本,但无法正常工作。

Its not installing properly guys. 它没有正确安装家伙。 So whats is the problem ? 那么问题是什么呢?

My configuration is 我的配置是

PHP - 5.3.0 Apache - 2.2.11 PHP-5.3.0 Apache-2.2.11

Try using the php_xdebug-2.2.3-5.3-vc9.dll instead or the php_xdebug-2.1.2-5.3-vc6.dll 尝试改用php_xdebug-2.2.3-5.3-vc9.dllphp_xdebug-2.1.2-5.3-vc6.dll

Alternatively run this wizard on the XDEBUG site, do as it says and copy and paste the output from your phpinfo into it and it will tell you which version you need automatically. 或者,在XDEBUG站点上运行此向导 ,按照说明进行操作,然后将phpinfo的输出复制并粘贴到其中,它将自动告诉您所需的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM