Vs. php Debugging php

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.