Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to install Xdebug into PHP in under 3 minutes

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,859
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 23, 2010

Lots of folks get confused on where and how to begin with Xdebug. This video, first in a series, shows you how to setup PHP and Xdebug on a Windows XP box, what to files to configure, and what to look for to tell you if Xdebug is working.

Basic steps:
dump phpinfo to the screen, note version and copy the path to the php.ini file to the clipboard.
download xdebug for your php version and save the dll file into your apache/modules folder
update php.ini, be sure the php_xdebug.dll extension is off, add a path to the new dll, add some xdebug params
restart apache
reload the phpinfo screen looking for the "with xdebug" text in the logo box

Note - A little verbal stumble in the middle of the video that you should disregard, Xdebug is available for PHP versions 5.2 and 5.3 (and older versions of PHP as well) - I neglected to look and see if 5.4+ was available.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (sonoramike)

  • You shouldn't be doing "forward slashes", you're thinking of httd.conf. You don't need to do that in php.ini.

  • @thunderpeel2001 - I've always used fwd slashes for php.ini, even on a windows box. The only difference that I find is in the pathing delimiters -- ; for windows, and : for *nix. In the end there are only 2 possible options, so if the fwd slashes are not working for you then you can go to the backs. Thanks for the comment, hope the video helped.

  • Hello,

    Nice job

    integeration of Xdebug into NetBeans needed,i just downloaded NetBeans...

  • @islamLoverable Thanks, I've had the best intentions but have not made time to date, I'll try to get something knocked out this week showing how to make NetBeans sing. Stay tuned

  • Great instructions! I was looking for a demo to see how xdebug works and your video came up first. I'm so glad I looked at it before I tried to install.

  • @JLittle2 Glad it worked for you, hoping to do a few more showing how to integrate Xdebug into NetBeans, Eclipse, Notepad++, etc. Anyway, thanks for checking the video out and leaving the nice comment.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • I doesn't work with PHP 5.3 for me. I installed PHP 5.2 and it works. The best you can do is go on this page: xdebug.org/find-binary.php and follow the instructions.

  • Thanks.. Great article.. Finally someone has put a concise video of this...

  • best download BeeWit IDE and install, it have apache + php + xdebug

  • hey bro! How can I not write you a comment when you have such an excellent presentation.

    Let me be the first one to comment on your video. Great job and very helpful!!!

    Cheers and by the way... I also do produce videos just like you do. Hope you will like my presentation as well.

    Have a nice day!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more