JJJ's Blog

  • WordPress
  • GitHub
  • Twitter/X
  • XDebug, NetBeans, WAMP Apache Crash Solution

    I just upgraded to a Vista 64 laptop with the current version of WAMP(2.0), and here is what I put in my php.ini to use XDebug and make the Apache crashing stop. Basically, I went back to using the 2.0.0 version of XDebug, and things seem to have stopped crashing.

    I am using NetBeans as my debugging IDE, and so far it works just fine.

    First off, comment out in your active php.ini:
    ;extension=php_xdebug-2.0.0-5.2.2.dll

    Then add this to the bottom of your active php.ini (Adjust your directories and xdebug filename accordingly.)

    [XDebug]
    ; Only Zend OR (!) XDebug
    zend_extension_ts="C:/Program Files (x86)/wamp/bin/php/php5.2.9-2/ext/php_xdebug-2.0.0-5.2.2.dll"
    xdebug.remote_enable=on
    xdebug.remote_host=localhost
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
    xdebug.profiler_enable=0
    xdebug.profiler_output_dir="C:/Program Files (x86)/wamp/tmp"

    That’s it! Good luck and hope this helps someone!

    JJJ

    May 19, 2009
    Software
    xdebug, Apache, crash

Proudly Powered by WordPress