Why does xdebug crash apache on every XAMPP install I've tried? Why does xdebug crash apache on every XAMPP install I've tried? windows windows

Why does xdebug crash apache on every XAMPP install I've tried?


I'm running XAMPP for Windows Version 1.7.1 on my Win7 machine with xDebug and it works perfect.

Check if you have SP1 installed, and then follow these notes:

  1. Find the line containing implicit_flush and set it as follows:

    implicit_flush = On

  2. Find the section called [Zend] and comment out all of the lines by putting a semi-colon (";") at the start of each line.

  3. Find the line: zend_extension = "c:\xampp\php\ext\php_xdebug.dll" and uncomment it.

  4. Find the [XDebug] section and uncomment all of the lines (except for the first line which is an actual comment). For Windows, it should look like the example below:

    [XDebug];; Only Zend OR (!) XDebugzend_extension_ts="C:\xampp\php\ext\php_xdebug.dll"xdebug.remote_enable=truexdebug.remote_host=localhostxdebug.remote_port=10000xdebug.remote_handler=dbgpxdebug.profiler_enable=1xdebug.profiler_output_dir="C:\xampp\tmp"


I was looking in internet for this issue and tried many solutions and none of them worked.I tried this configuration, just a last test and worked for me, in Eclipse change under Windows/Preferences/PHP/Debug and select Xdebug as PHP debugger.


Via some other forum I found a possible hint - while generally apache on xampp uses the php.ini that is inside the apache/bin directory, some modules don't. So I toyed around with the php.ini in that directory (simply moving it out of harms way worked for me so far, as in renaming/deleting it). Might wanna give it a try at least.