vs.php Debugging PHP

Source: Internet
Author: User
After reading this article can run can not debug, if you can thank you very much

Download

Jcx.software.vs.php.for.visual.studio.2008.v2.6.3.5601.rar installation files

Jcx.software.vs.php.for.visual.studio.2008.v2.6.3.5601.keymaker.and.patch-dvt.rar Key Registration Code

Crack

Make sure to patch out the original Vsphp_svc.exe (D:\Program Files\jcx.software\vs when generating the key. 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 the projects of VS

With PHP and Apache configured in front of you

Current Apache boot path D:\Program files\apache software foundation\apache2.2\htdocs\

http://localhost:8080/

Project files moved to D:\Program files\apache software foundation\apache2.2\htdocs\ Directory

PHP file index.php

/* Todo:add code here */

Phpinfo ();

?>

Modify project configuration

Properties-> Check DEBUG

Modify Start uml:http://localhost:8080/last no/

Debug mode:external mode with Apache already well-equipped; Vs. PHP also has its own Apache

Debug Engine:xdebug Debugging and non-debugging

//

Because there is no configuration Php_xdebug.dll

No configuration Succeeded

The general meaning is to download the DLL and then rename it in the ext file and then modify the php.ini file to note the configuration of the shielded Zend Accelerator

[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


Attached phpinfo under Debug project
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.