How to build the ZendDebuggerphp debugging tool in the WAMP environment

Source: Internet
Author: User
For a long time, writing php uses Dreamweaver. sometimes it is really painful. if you have a bug and want to see the values of some elements, you must use echo output to know, now I have learned a powerful breakpoint debugging tool, and php can finally be like java ,.. NET breakpoint debugging. this is -- ZendDebu is not a new product, so we will not introduce it. The following describes the configuration process.

First, download ZendDebugger. Download link: Consumer

Decompress the package and you will see these directories.

The numbers in front of these folders represent the php version. I used 5.2.6, so I used 5_2_x_comp to put ZendDebugger in this folder. copy the dll to the ext folder under the php directory, and then open php. ini (remember, php under wamp. ini uses the X: \ wamp \ bin \ apache \ apache2.2.8 \ bin \ directory). add the following lines of code at the bottom:
Copy codeThe code is as follows:
[Zend]
Zend_extension_ts = "D: \ soft \ wamp \ bin \ php \ php5.2.6 \ ext \ ZendDebugger. dll"
Zend_debugger.allow_hosts = 127.0.0.1
Zend_debugger.expose_remotely = always

Save and close. continue to view the items in the downloaded ZendDebugger, find dummy. php, and copy it to the www directory, which is located at X: \ wamp \ www.

Restart wamp and enable http: // localhost/to check whether the ZendDebugger extension loaded by php is normal.

The last step is to configure ZendDebugger in the debugger. here I will not explain it in detail, because some people use ZendStudio and some people use EPP, which is difficult to adjust. let's explore it by yourself.

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.