[xdebug-general] Re: XDebug installed but not working

From: Jonah Live <jonahlive[@]live.com>
Date: Fri, 28 Jan 2011 04:19:59 -0600

> Date: Wed, 26 Jan 2011 15:15:41 +0000
> From: derick[@]xdebug.org
> To: jonahlive[@]live.com
> CC: xdebug-general[@]lists.xdebug.org
> Subject: Re: [xdebug-general] XDebug installed but not working
>
> On Tue, 25 Jan 2011, Jonah Live wrote:
>
> > 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:
> >
> > xdebugxdebug 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()
> >
> > What is going on?
>
> That's odd. Could you run:
>
> <?php
> var_dump(get_extension_funcs("xdebug"));
> var_dump(get_loaded_extensions());
> ?>
>
> cheers,
> Derick
>
>
Just replying here for future people that have the same problem. It turns out the php.ini the installer told me to edit was the wrong one, the one for the CLI. Once I edited the correct php.ini it worked fine.

Thanks.
                                               
Received on Fri Jan 28 2011 - 10:20:00 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST