Recall this site when installing the Eclipse PDT? Well, let's go back and click on the link for 'PDT and XDebug', which will take us to http://xdebug.org/. Once there, we will go to the page which deals with 'obtaining' the Xdebug.dll file needed for this demonstration project. Now that we're at the xdebug site, let's focus on obtaining the Xdebug dynamic link library that we'll need by clicking on where it says 'obtaining'. This takes us to http://xdebug.org/download and shows us the following options. Since we are dealing with the latest stable release, Xdebug 2.0.4, and the version that is thread-safe and is designed to work with PHP 5.2 (in our case, PHP 5.2.8), go ahead and click on where it says 5.2 VC6. This will download php_xdebug-2.0.4-5.2.8.dll. To install this file so that it will work with your PHP setup, copy this file into the following directory: c:\wamp\bin\php\php5.2.8\ext\. That's all you've got to do! Well, actually we have to let our PHP setup know the location of this file, but that's easy enough and we will take care of that detail when we get to configuring the configuration files, specifically php.ini. Your PHP setup should look like this: After modifications are made to the appropriate php.ini file, you should be able to confirm that this debugger is functioning within your WampServer 2 platform. |



