Development

XdebugOnWindows (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of XdebugOnWindows

Show
Ignore:
Author:
spascoe (IP: 65.26.177.228)
Timestamp:
11/28/05 06:15:03 (12 years ago)
Comment:

Created description of how to get xdebug working on windows

Legend:

Unmodified
Added
Removed
Modified
  • XdebugOnWindows

    v0 v1  
     1==== XDebug on Windows ==== 
     2 
     3XDebug does not work like other extensions for PHP.  It must be loaded as a zend extension,  
     4and is also incompatible with the Zend Optimizer. 
     5 
     6=== Steps to get XDebug Working === 
     7 
     8  1.  Verify that the `extension=php_xdebug.dll` is disabled, as shown below. 
     9  {{{ 
     10;extension=php_win32service.dll 
     11;extension=php_win32std.dll 
     12;extension=php_xdebug.dll 
     13;extension=php_xmlreader.dll 
     14  }}} 
     15  2. Add a `zend_extension_ts` line in the `[Zend]` section of the php.ini file. This is located at the end of the file normally.  Also, you will need to disable the zend optimizer.  See the following example. 
     16   {{{ 
     17[Zend] 
     18;zend_extension_ts = "c:\xampp\php\ext\php_dbg.dll" 
     19zend_extension_ts = "c:\xampp\php\ext\php_xdebug.dll" 
     20zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll" 
     21;zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer" 
     22zend_optimizer.enable_loader = 0 
     23zend_optimizer.optimization_level=15 
     24;zend_optimizer.license_path = 
     25   }}} 
     26 
     27  The two key lines are `zend_extension_ts = [...]\ext\php_xdebug.dll` and the line `;zend_extension_manager.optimizer_ts...`