Video: Setup Xdebug in under 3 minutes

Jan 26 2011

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:

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


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent automated spam submissions.