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