my php version is PHP Version
Xdebug setting in php.ini:
[Xdebug] zend_extension_ts="D:\php\ext\php_xdebug-2.1.2.dll" xdebug.remote_enable=1 ;IP xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.auto_trace = On xdebug.show_exception_trace = On xdebug.remote_autostart = On xdebug.collect_vars = On xdebug.collect_return = On xdebug.collect_params = On
i have installed PHP 5.3 VC6 (32 bit)/ PHP 5.3 VC9 (32 bit). they are both failed.
when typed “php –ini” on cmd . it shows:
Here is Solutions:
We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.
in order to find the correct binary to use, please follow the instructions at http://xdebug.org/find-binary.php
Instead of attempting to mix ‘n match modules, try a stock download from Apache Friends. http://www.apachefriends.org/en/xampp-windows.html
XAMPP comes with xdebug right out of the box.
Looks like you just need to download the correct version of xdebug for your version of Windows / PHP. There are VC9 builds here, just select the appropriate one for 32 or 64 bit.
You can check the above link and install xdebugger in sublime 3 with wamp server easily.
If you don’t use Xamp.
- Download windows binary corresponding your php version: https://xdebug.org/download
- (optional) move downloaded file (php_xdebug…….dll in common location and rename it: for example
php --iniin cmd to know where is the php.ini file (p.ex: C:\php\php.ini)
- Edit C:\phpextensions\xdebug.dll and add following line:
zend_extension = C:\globally\debug.dll xdebug.remote_enable = 1 xdebug.remote_handler = dbgp xdebug.remote_host = localhost xdebug.remote_autostart = 1 xdebug.remote_port = 9000 xdebug.show_local_vars = 1
Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂