PHP开发环境搭建 (XAMPP+Xdebug+netbeans,配置调试)

主要参考这个:

http://blog.csdn.net/xyzhaopeng/article/details/6598185

其实步骤很简单。

其实xampp本来就已经设置好了,只不过是注释了而已。

打开xampp安装目录下的php/php.ini

找到

[XDebug]
zend_extension = "D:\xampp\php\ext\php_xdebug.dll"

去掉这行的注释(启动这行)

并在最后加入:

xdebug.remote_enable=true
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000

(其实后边这几句是netbeans提示需要加入的)

重启apache,搞掂

posted @ 2011-08-06 21:52  拂晓风起-Kenko  阅读(2973)  评论(0编辑  收藏  举报