I'm trying to install Xdebug on my remote dev site. I have the following in my php.ini file:
xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_connect_back=On
xdebug.remote_port = 9001
I have set the port to 9001 because I understand that the default (9000) will conflict with FastCGI.
But this is not working. With these settings I get and internal error and the following logged:
[Fri Nov 07 15:37:53 2014] [warn] [client 162.201.236.210] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri Nov 07 15:37:53 2014] [error] [client 162.201.236.210] Premature end of script headers: index.php
Update: I've tried changing FcgidBusyTimeout, but that didn't help.
What am I missing? Thanks