【问题标题】:xdebug is not installed in xamp. Nothing in phpinfoxdebug 未安装在 xamp 中。 phpinfo 中什么都没有
【发布时间】:2013-07-30 19:48:53
【问题描述】:

所以我安装了 netbeans 和 xampp。在我格式化之前,它们都可以完美地协同工作,我只是安装了它们。

所以现在我真的很生气,因为我花了一整天的时间寻找问题所在,却一无所获!

所以我的第一步是检查我有一个 php.ini 文件,我确实做到了。 然后嵌套步骤检查 xdebug 是否存在,它在:C:\Program Files (x86)\xampp\php\ext\php_xdebug.dll

然后我将 ini 文件更改为当前设置:

[XDebug]
zend_extension = "C:\Program Files (x86)\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\Program Files (x86)\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = localhost
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
xdebug.trace_output_dir = "C:\Program Files (x86)\xampp\tmp"

我知道并非所有这些都是必要的,但是,查看这么多似乎都相关的问题。

然后在停止并重新启动 apache 服务器后没有任何变化。

然后我去http://xdebug.org/wizard.php看看这是否可以通过抛出我关于mabey我应该安装一个新的birary的情况来了解这是否可以阐明任何情况,而我得到的回复中没有包含关于下载什么的内容!

Tailored Installation Instructions

Summary

Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: yes - Compiler: MS VC9 - Architecture: x86
Zend Server: no
PHP Version: 5.4.16
Zend API nr: 220100525
PHP API nr: 20100525
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\Windows
Configuration File: C:\Program Files (x86)\xampp\php\php.ini
Extensions directory: C:\Program Files (x86)\xampp\php\ext
Instructions

Download
Move the downloaded file to "C:\Program Files (x86)\xampp\php\ext"
Edit C:\Program Files (x86)\xampp\php\php.ini and add the line
zend_extension = "C:\Program Files (x86)\xampp\php\ext\"
Restart the webserver

我有 netbeans 7.3.1 和 php 5.4.16,我也在管理员模式下运行我的 XAMPP 控制器和 netbeans。

非常感谢所有帮助

【问题讨论】:

标签: php xampp xdebug


【解决方案1】:

下载:

x86

我在错误的版本上遇到了同样的问题。

【讨论】:

  • 你先生是个天才!
  • 我不明白的是,我使用的是完全相同的 .dll,但我使用的是 64 位版本,但它不起作用。为什么会这样,因为我运行的是 64 位操作系统
  • 我注意到您的程序文件中的 (x86),应用程序本身是 32 位的。你的操作系统是 32 还是 64 无关紧要,因为你的 PHP 版本是 32。
  • 它不适用于 PHP 7.3.0 最新的 Xampp。有人可以帮忙吗?
猜你喜欢
  • 1970-01-01
  • 2011-07-27
  • 2019-02-15
  • 2011-04-17
  • 2012-12-12
  • 2020-11-21
  • 2019-08-19
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多