Jump to content

Just can't get Xdebug going with XAMPP


Recommended Posts

New to PHP and coming from the Java world from a few years back ...

 

I'm trying to learn PHP and get writing some simple scripts with it so I installed XAMPP because that seems to be the "way to go"?

 

At any rate, I've been mod'ing my PHP.ini like crazy and I am changing the one that shows up in the call to PHPINFO() off the XAMPP apache homepage. Problem is, nothing happens when I try to add in the code for xdebug. I've double checked the right version of dll, paths, etc. Also checked the log file for apache errors and nothing shows up. I noticed there was some huge section already in php.ini for xdebug so I just deleted that to make sure there were no conflict. Still I don't get the xdebug to show on the bottom and when I run a script I'm trying to test I just get nothing. Only the static html. No errors and it's not doing what it should.

 

TIA for any help!

 

This is what I have added in my php.ini. NO other entries are in for xdebug and i couldn't find any optimizer lines to disable

 

[ZEND]

;; Only Zend OR (!) XDebug

zend_extension_ts="C:\xampp\php\ext\php_xdebug.dll"

xdebug.remote_enable=true

xdebug.remote_host="127.0.0.1"

xdebug.remote_port=9000

xdebug.profile_enable=0

xdebug.remote_handler=dbgp

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.