3
votes

I am using PHP version 7.1.11. Installing the xdebug extension. I have downloaded the xdebug binary and added it into php/ext .

Now i am configuring the xdebug in php.ini. But doing CTRL+F i am not finding xdebug in php.ini. So i am trying to add it myself with below steps :

  1. adding the line extension=php_xdebug.dll
  2. adding the section

[XDebug]
zend_extension = "d:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"

Now i am asking

  • above two steps are right?
  • is there should be any order(means it should be keep anywhere in the php.ini file)?
1
Follow the xdebug.org/wizard.php to install xdebug properly - Thamaraiselvam
@Thamaraiselvam could u post this as an answer (comments do not pop out and missed it on the page. I wrote an answer saying us the wizard was the way to go and then I saw this! If u don't add it I will but I will get the credit which seems unfair! - BeNice
@BeNice I have added that comment as answer. Thanks for the comment. Happy coding. - Thamaraiselvam

1 Answers

0
votes

Xdebug Installation Guide helps you finding which xdebug file to download, and how to configure PHP to get Xdebug running.