【发布时间】:2013-07-07 14:03:06
【问题描述】:
我正在尝试使用 xampp 1.8.1 配置 Xdebug。我曾尝试将向导与 phpinfo() 结果一起使用,但它似乎不起作用。 “下载”字段为空白。在 phpinfo() 中,所有列出的扩展版本都是 VC9,看起来我需要线程安全。我已经尝试过 32 位和 64 位版本的 VC9_TS 版本,但似乎没有任何效果。我正在使用 phpinfo)() 上显示的 php.ini。我检查了 Apache 和 PHP 错误日志,但没有相关条目。
XDebug 向导:
Summary
Xdebug installed: no
Server API: Apache 2.4 Handler Apache Lounge
Windows: yes - Compiler: MS VC9 - Architecture: x86
Zend Server: no
PHP Version: 5.4.7
Zend API nr: 220100525
PHP API nr: 20100525
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\windows
Configuration File: C:\xampp\php\php.ini
Extensions directory: C:\xampp\php\ext
说明
Download
Move the downloaded file to C:\xampp\php\ext
Edit C:\xampp\php\php.ini and add the line
zend_extension = C:\xampp\php\ext\
Restart the webserver
在 php.ini 中我有以下内容:
[XDebug]
zend_extension="c:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_port="9000"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="c:\xampp\tmp>"
提前感谢您的帮助!
【问题讨论】:
-
能否将粘贴到向导中的 phpinfo() 以 zip 文件的形式添加,然后附加到 bugs.xdebug.org/view.php?id=957 中?