xDebug cant find my files. Always looks in localhost
Posted
by
sleeper
on Stack Overflow
See other posts from Stack Overflow
or by sleeper
Published on 2012-04-15T07:11:47Z
Indexed on
2012/04/16
11:28 UTC
Read the original article
Hit count: 386
- I'm running win7-64bit, NetBeans 7.1.1 and WampServer 2.2 (which has xDebug)
- I've configured php.ini (xdebug.remote_enable=on, etc.)
- I create a directory (virtual host called example.dev) and add a test file. (c:/wamp/example/test-xdebug.php)
I run debug in NetBeans and the following url displays:
http://localhost/example/test-xdebug.php?XDEBUG_SESSION_START=netbeans-xdebug
This fails. The browser coughs up the following error message.
Not Found.
The requested URL /example/test-xdebug.php was not found on this server.
I add the correct path to the virtual host, and xDebug Runs Flawlessly:
http://example.dev/test-xdebug.php?XDEBUG_SESSION_START=netbeans-xdebug
Tried every configuration I could think of. If this is a php.ini config issue, I sure as heck cant find it. If its a NetBeans issue, there is not an option/interface to modify i (that I can find).
Please illuminate!
thanks sleeper
© Stack Overflow or respective owner