XAMPP 1.7.0
Windows XP SP3
Running on localhost 2GB RAM
Hi thanks for creating such convenient great software!
I've seen this elsewhere on the forum but the fixes have not worked for me, also my php error log file is empty! The Apache log file gives no information at all just some restarting messages.
I have a problem where I get error message "Apache has encountered a problem and needs to close" about 10% of the time. Apache actually keeps on running (or tries to restart itself) so if I keep hitting refresh the web page eventually comes up. It is a bit of a worry and inconvenient. Sometimes it is quite stable and I can run for 15 minutes without problem, then sometimes I get it constantly. I've even got it immediately after a reboot so I think it is not RAM or memory issues.
I've found it is only an issue when Xdebug is enabled. Turning off Xdebug fixes it. However I would very much like to use Xdebug so I would love to fix it.
These are the settings in my php.ini when I enable Xdebug:
- Code: Select all
I leave this commented out:
;extension=php_xdebug.dll
and further down:
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\xampp\tmp"
When I start getting the Apache error message, I comment out one line:
- Code: Select all
[XDebug]
;; Only Zend OR (!) XDebug
;zend_extension_ts="C:\xampp\php\ext\php_xdebug.dll" << Just this one
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\xampp\tmp"
And restart Apache. The error goes away, but I still need to use Xdebug.
Additional information is that when I click on the Windows dialogue box for more info, I get
appname=apache.exe
modname= php_xdebug.dll
which is why I turned this off.
Any ideas please?
Thank you
Mark