[nycphp-talk] xdebug & apache 2
David Sklar
sklar at sklar.com
Wed Jul 21 17:02:20 EDT 2004
In addition to adding the XDEBUG_SESSION_START var to the URL that you
mentioned in your other message, you need to tell xdebug to connect to
debugclient on a different port.
Xdebug 2 defaults to port 9000, but the binary debugclient 0.7.0
defaults to port 17869. So add this to your php.ini:
xdebug.remote_port=17869
The xdebug stuff doesn't have to be in the "[Zend]" section of php.ini, BTW.
Do you see xdebug listed in phpinfo() output? (whether or not remote
debugging is working)
David
John Lacey wrote:
> Anyone know if xdebug will work with Apache 2.0.x (running latest XAMPP
> with PHP5 & apache 2.0.50 on a win2k pro box)
> I got the latest php_xdebug.dll from here:
> http://snaps.php.net/win32/PECL_UNSTABLE/ and I'm running the prebuilt
> binary debugclient ver 0.7.0 for windows I grabbed from xdebug.org
>
> php.ini file:
> [Zend]
> xdebug.remote_enable = 1
> xdebug_extension_ts="c:/path_to/php_xdebug.dll"
>
> (phpinfo shows php was built with thread safety, hence the _ts)
>
> I tried to get it working, but no joy -- won't connect to the client
> thanks,
> John
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
More information about the talk
mailing list