在Oodles Technologies,我们在PHP的基础上进行了广泛的工作,希望这个答案能够帮到您。
打开你的php.ini文件后,添加以下行:
注:(php.ini文件包含在这两个是Apache和PHP文件夹,建议配置文件,该文件存在于Apache的文件夹)
<span style="font-size:16px;"><span style="font-family:arial,helvetica,sans-serif;">zend_extension = "c:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.0-5.4-vc9.dll"(use zend_extension_ts as variable name if you are using php version below 5.3)
xdebug.remote_enable = 1
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
</span></span>
在此之后,确保“C:/ WAMP/tmp目录”中的文件系统中存在,如果没有则创建该目录。
然后重新启动你的apache服务。
最后,打开您的NetBeans或eclipse IDE并在设置中配置xdebug。
我希望你觉得它有用。