Xdebug Installation
When downloading the xdebug extension, note that the Xdebug version corresponds to the PHP version, otherwise there will be unnecessary trouble!
I am using PHP5.2.5, download the Xdebug file named: Php_xdebug-2.0.3-5.2.5.dll, put the file in the Php/ext folder can be
3. Configuration
Xdebug Configuration
Open php.ini
Add the following configuration code to the last line, and the configuration instructions are already commented
; Load into Xdebug
Zend_extension_ts= "C:/php/ext/php_xdebug-2.0.4-5.2.8.dll"
If you use a relative path, you can write this
; extension= "Php_xdebug-2.0.4-5.2.8.dll"
; Xdebug Configuration
[Xdebug]
; Turn on auto-tracking
Xdebug.auto_trace = On
; Turn on exception tracking
Xdebug.show_exception_trace = On
; Turn on remote debugging auto-start
Xdebug.remote_autostart = On
; Turn on remote debugging
Xdebug.remote_enable = On
; Collecting variables
Xdebug.collect_vars = On
; Collect return values
Xdebug.collect_return = On
; Collect parameters
Xdebug.collect_params = On
Finally, I wrote it in PHP.ini.
[Zend]
Zend_extension_manager.optimizer_ts= "f:\ServerCore\lib\Optimizer-3.3.0"
; zend_extension_ts= "F:\ServerCore\lib\ZendExtensionManager.dll"
Zend_extension_ts= "F:\ServerCore\PHP5\ext\php_xdebug-2.0.4-5.2.8.dll"
The other way is not very good.
http://www.bkjia.com/PHPjc/321520.html www.bkjia.com true http://www.bkjia.com/PHPjc/321520.html techarticle xdebug installation Download Xdebug extension Note that the Xdebug version corresponds to the PHP version, or there is no need for trouble! I am using PHP5.2.5, the download of the Xdebug file name is: ...