XAMPP 1.7.2 comes bundled with the appropriate Xdebug .dll file. You only have to configure php.ini to use it. Note that all Xdebug settings have text explaining them.
- Locate and open XAMPP_HOME\php\php.ini for editing. This is the only php.ini file in XAMPP 1.7.2.
- Find and uncomment the line zend_extension = "XAMPP_HOME\php\ext\php_xdebug.dll".
- Find and uncomment the line xdebug.remote_host=localhost. Change the value of the setting from localhost to 127.0.0.1.
- Find and uncomment the line xdebug.remote_enable = 0. Change 0 to 1.
- Find and uncomment the line xdebug.remote_handler = "dbgp".
- Find and uncomment the line xdebug.remote_port = 9000.
- Save php.ini.
- Run the XAMPP Control Panel Application and restart the Apache server.
No comments:
Post a Comment