如何在Windows中使用netbeans和Xdebug调试PHP? [英] How to debug PHP with netbeans and Xdebug in Windows?
问题描述
我已经在Windows中使用wamp服务器安装了PHP,并且已经在php.ini中给出了Xdebug的条目,并且调试工作不在netbeans中。如何解决这个问题?
谢谢 解决方案
wamp服务器在Windows中,请确保您编辑正确的php.ini文件(打开php.ini从WAMP托盘菜单)或检查路径到phpinfo()中使用php.ini文件。
您的dll文件的路径看起来可能是错误的。在WAMP下,通常会指向类似于
zend_extension_ts =C:\wamp\bin\php\php5 .2.11\ext\php_xdebug-2.0.5-5.2.dll
I have installed PHP using wamp server in Windows and I have give the entry for Xdebug in php.ini And Debugging not working in netbeans. How to solve this?
Thanks
If you are using wamp server in windows, make sure you edit the correct php.ini file (open php.ini FROM WAMP TRAY MENU) or check the path to your used php.ini file in phpinfo().
The path to your dll file looks like it might be wrong. Under WAMP it would normally point to something like
zend_extension_ts="C:\wamp\bin\php\php5.2.11\ext\php_xdebug-2.0.5-5.2.dll"
这篇关于如何在Windows中使用netbeans和Xdebug调试PHP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!