how to choose the right xdebug version for your development environment ????

one last tip for apache 2 use the threaded version and non threaded version is for apache 1.3

yesterday i was moving my development environment to the new php 5.3 , I used to work with  some of php  extension  every time every where , one of the most important extension is xdebug basically its

The Xdebug extension helps you debugging your script by providing a lot of valuable debug information.

its really very handy tool but every time i need to add it i lose some time of choosing the right version until i found a rule :

1- get the  Zend Extension Build  from your phpinfo () , its API220090626,TS,VC6 in my case

2- you should be sure about the php version you have

3- your CPU is 32x or 64x

then let’s go to xDebug download page

you would see something looks like this screenshot

and all you had to do choose the last letters form the Zend Extension and , php version  and you CPU type in this i had wamp with php version 5.3 , 23 bit CPU arch and Zend Extension Build  is API220090626,TS,VC6

so my wanted download Dll file is [ 5.3 VC6 (32bit) ]

one last tip for apache 2 use the threaded version and non threaded version is for apache 1.3

once you chosen the right version for you just add it to the ext directory and go ahead and modify PHP.INI file to add these lines of setting :

zend_extension_ts=D:\wamp\php\ext\path to your php_xdebug.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9999

and just restart your apache and xdebug should pop up in your phpinfo .
I hope this will help youPHP 5.3 with Xdebug

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">