Howto: Install XAMPP 1.7.2 on Windows 7 with XDebug and Netbeans

Hi,

Just for my own reference and some other poor people out there trying to get this to work:

  1. Download XAMPP 1.7.2 from sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.7.2/xampp-win32-1.7.2.exe/download
  2. Install
  3. Download php_xdebug-2.0.5-5.3-vc6.dll from xdebug.org/download.php
  4. Place it in C:\xampp\php\ext
  5. Edit C:\xampp\php\php.ini add:
    zend_extension = "C:\xampp\php\ext\php_xdebug-2.0.5-5.3-vc6.dll"[xdebug]

    xdebug.remote_enable=on

    xdebug.remote_host=127.0.0.1

    xdebug.remote_port=9000

    xdebug.remote_handler="dbgp"

  6. Enjoy!

Comments

  • ksho

    Can you explain step 5 again? I dont get the add:zend_extention part. where am I suppose to add that to?

    8/9/2011, 10:18:51 AM

  • dcodernz

    Good point! You need to add those lines to the php.ini file. I edited it now so you can at least copy/paste it and it's a bit more understandable. I will need to revise these pages... Thanks!

    8/9/2011, 10:41:48 AM

  • Noname Noshame

    If Netweaver fails to connect to XDebug, you may wish to check the Apache logs for occurrences of something like: Cannot load Xdebug - it was built with configuration API220090626,TS,VC6, whereas running engine is API220090626,TS,VC9 [Fri Jun 01 18:38:05 2012] [notice] Child 3404: Child process is running To remedy this, pick the right version of the XDebug binary from the XDebug website (try a few combinations till you get it working)

    6/2/2012, 4:34:28 AM

RecentsNearby