The most Jane in history! PHP Debugging Environment build-zend Debugger Installation

Source: Internet
Author: User
Tags zend

Environment: PHP 5.2.5,zend Studio 5.5.1,zend Debugger 5.2.10

Simple PHP debugging environment to build tutorials:
1, extracted from the folder corresponding to different versions of PHP have different folders
I'm php5.2.5 so I 5_2_x_comp the ZendDebugger.dll to my PHP installation directory (e:php5.2.5).
and dummy.php to your site root directory (do not know the root directory of the site please see the following FAQ)

2. Open the php.ini and add the following:
[Zend]
Zend_extension_ts= "E:php5.2.5zenddebugger.dll"
Zend_debugger.allow_hosts=127.0.0.1/32,127.0.0.1/24
Zend_debugger.expose_remotely=allowed_hosts

3, restart IIS (do not know how to restart the look at the FAQ), open phpinfo () if the following image is successful

Installation Process FAQ:
1, first determine the good version number! PHP version of more, the corresponding Zend product version number should also correspond, only Zend Debugger 5.2.x can debug php5.2.5. By the PHP version and Zend version of the friend can see me another article: "The most Jane!" Zend Product Version Resolution ".
Zend Debugger 5.2.10:http://downloads.zend.com/pdt/server-debugger/zenddebugger-5.2.10-cygwin_nt-i386.tar.gz

2, what is called the site root directory?
IIS installed in the C disk after the new c:inetpubwwwroot, this wwwroot is the site root directory, dummy.php put this side.
Open the Control Panel-> Management tool->internet Information Service, right-click on the Web site-> Default Web site, Properties-> home directory-> Local path also see C:inetpubwwwroot

3, 127.0.0.1/32,127.0.0.1/24, what does this/32,/24 mean?
Represents the subnet mask,/32 is 255.255.255.255 (converted to binary is 32 bits),/24 is 255.255.255.0

4. How do I restart IIS?
Open cmd, first execute net stop w3svc and then execute net start w3svc

To start Debugging:
1, open the Zend studio-> tool (Tool)-> preferences (preference)-> debugging (Debugger) so set

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.