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:
Find the line containing
implicit_flush
and set it as follows:implicit_flush = On
Find the section called
[Zend]
and comment out all of the lines by putting a semi-colon (";") at the start of each line.Find the line:
zend_extension = "c:\xampp\php\ext\php_xdebug.dll"
and uncomment it.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"
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.