Vs. php Debugging php after reading this article, you can run it and cannot debug it. if you can skip this article, thank you very much.
Download
Jcx.Software.VS.PHP.for.Visual.Studio.2008.v2.6.3.5601.rar installation file
Jcx.Software.VS.PHP.for.Visual.Studio.2008.v2.6.3.5601.KeyMaker.and.Patch-DVT.rar Key registration code
Cracking
Make sure to PATCH the original vsphp_svc.exe when generating the KEY (D: \ Program Files \ Jcx. Software \ VS. Php \ 2008 \ 2.6 \ vsphp_svc.exe)
After installation
Open Vs2008-> New Project-> expand "other projects" node
Project name: PHP PROJECT1
Default files are stored in vs projects.
Because PHP and APACHE have been configured
Current APACHE startup path D: \ Program Files \ Apache Software Foundation \ Apache2.2 \ htdocs \
Http: // localhost: 8080/
Move the project file to the D: \ Program Files \ Apache Software Foundation \ Apache2.2 \ htdocs \ directory.
Php file index. php
/* TODO: Add code here */
Phpinfo ();
?>
Modify project configuration
Property-> select DEBUG
Modify start uml: http: // localhost: 8080/No at last/
Debug mode: Use the configured APACHE for External mode; VS. PHP also has its own APACHE
Debug engine: Xdebug debugging and non-debugging
//
Php_xdebug.dll is not configured
No configuration successful
Download the DLL, rename it, and store it in the EXT file, and then modify it in the PHP. ini file to block the ZEND accelerator configuration.
[Zend]
; Zend_extension_manager.optimizer_ts = "d: \ Program Files \ Zend \ ZendOptimizer-3.3.0 \ lib \ Optimizer-3.3.0"
; Zend_extension_ts = "d: \ Program Files \ Zend \ ZendOptimizer-3.3.0 \ lib \ ZendExtensionManager. dll"
Zend_extension_ts = "D: \ Program Files \ Php \ ext \ php_xdebug.dll"
[XDebug]
Xdebug. idekey = vsphp
Xdebug. remote_enable = 1
Xdebug. remote_port = 7870
Xdebug. remote_autostart = 1
Appendix: Debug Project under phpinfo
Debug Build no