Zend Debugger installation instructions
—————————————
1. Locate ZendDebugger.so or ZendDebugger.dll file that is compiled for the correct version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x) in the appropriate directory.
2. Add the following line to the php.ini file:
Linux and Mac OS X: zend_extension=/full/path/to/ZendDebugger.so
Windows: zend_extension_ts=/full/path/to/ZendDebugger.dll
Windows non-tread safe: zend_extension=/full/path/to/ZendDebugger.dll
(*) the windows non-thread safe is used only with Zend Core 2.0
3. Add the following lines to the php.ini file:
zend_debugger.allow_hosts=<ip_addresses>
zend_debugger.expose_remotely=always
4. Place dummy.php file in the document root directory.
5. Restart web server.
这里已经非常详细的讲了安装方法了,那我就以我晦涩的语言再描述一遍吧
以下是压缩包内所有文件的列表:
ZendDebugger-5.2.14RC9-cygwin_nt-i386/md5
ZendDebugger-5.2.14RC9-cygwin_nt-i386/Inventory.xml
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_3_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_3_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_4_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/4_4_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_0_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_0_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_1_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_1_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_nts_comp
ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_nts_comp/ZendDebugger.dll
ZendDebugger-5.2.14RC9-cygwin_nt-i386/dummy.php
ZendDebugger-5.2.14RC9-cygwin_nt-i386/README.txt
解压出合适的也就是和你当前php的版本对应的Zend Debugger版本,我的php版本是5.2.5,因此我就把5_2_x_comp给拖出来了(至于5_2_x_nts_comp指的是non-tread safe,没有明白具体用途,也就不妄用了),我将5_2_x_comp/ZendDebugger.dll移动到D:/myserver/ZendDebugger/5_2_x/ZendDebugger.dll,将压缩包中的dummy.php解压到web根目录,我这里的apache的DocumentRoot设置在D:/myserver,就拷贝dummy.php到D:/myserver/wwwroot,然后修改php.ini,加入了这些内容:
新闻热点
疑难解答