Hello,
I'm trying to use xdebug remotely. Server an client are both on windows
OS. php version is 5.1.4
my php.ini has those options :
[xdebug]
xdebug.remote_mode = jit
xdebug.default_enable = On
xdebug.remote_enable = On
;xdebug.remote_handler = gdb
xdebug.remote_handler = dbgp
xdebug.remote_host = 192.168.94.3
xdebug.show_local_vars = On
xdebug.collect_params = On
xdebug.collect_returns = On
in my php script, i have on line 21 :
if (xdebug_is_enable())
echo "enable";
else
{
xdebug_enable();
}
__
__
And i receive in my page :
enabled
( ! ) Fatal error: Call to undefined function xdebug_is_enable() in
C:\Inetpub\wwwroot\CGM\Production\Execution\Liste.php on line 21
Call Stack
# Time Function Location
1 0.0035 {main}() C:\Inetpub\wwwroot\CGM\Production\Execution\Liste.php:0
Variables in local scope (#1)
$HTTP_HOST = 'www.intranetcgm.fr' (length=18)
debugclient-0.9.0.exe is always waiting for connection... nothing happens.
What should be wrong with my xdebug configuration ?
Thanks.
Best regards,
Niko
Here is my phpinfo xdebug section
xdebug
xdebug support enabled
Version 2.0.0RC2-dev
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.104 $
GDB - GNU Debugger protocol $Revision: 1.81 $
PHP3 - PHP 3 Debugger protocol $Revision: 1.20 $
Directive Local Value Master Value
xdebug.allowed_clients no value no value
xdebug.auto_trace Off Off
xdebug.collect_includes On On
xdebug.collect_params Off Off
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.default_enable On On
xdebug.dump.COOKIE 1 1
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.idekey no value no value
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 100 100
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir /tmp /tmp
xdebug.profiler_output_name crc32 crc32
xdebug.remote_autostart Off Off
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host 192.168.94.3 192.168.94.3
xdebug.remote_log no value no value
xdebug.remote_mode 'jit' 'jit'
xdebug.remote_port 9000 9000
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir /tmp /tmp
xdebug.trace_output_name crc32 crc32
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 2 2
-- NETWORK INFORMATIQUE http://www.network.frReceived on Tue Nov 14 2006 - 19:08:17 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST