所以我安装了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看看这是否能让我了解一下我应该安装一个新的Birry的情况,我得到的回复不包括下载什么!
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和php5.4.16,我也在管理模式下运行我的XAMPP控制器和netbeans。
非常感谢所有帮助
下载:
x86
我也有同样的问题,一个错误的版本。