I have just downloaded the latest xdebug for my windows machine running wamp and php 5.3. After following the install instruction and restarting my services, it appears to be installed according to php info:
xdebug
xdebug support => enabled
Version => 2.1.0
However, if I try to use the following in a script:
xdebug_start_trace(‘c:\test.txt’);
I get this error:
Fatal error: Call to undefined function xdebug_start_trace() i
What is going on?
Thanks,
Jonah
WampServer has two php.ini files, one for Apache web pages, one for CLI. Make sure you’ve edited the correct one.
The
C:\wamp\bin\php\php5.3.0\php.iniis for CLI. For webpages there’s another atC:\wamp\www\bin\apache\Apache2.2.11\bin\php.ini