YY-LIN 发表于 2015-8-30 09:04:39

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

  主要参考这个:
  http://blog.iyunv.com/xyzhaopeng/article/details/6598185
  
  其实步骤很简单。
  其实xampp本来就已经设置好了,只不过是注释了而已。
  打开xampp安装目录下的php/php.ini
  找到
  
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,搞掂
页: [1]
查看完整版本: PHP开发环境搭建 (XAMPP+Xdebug+netbeans,配置调试)