下載並安裝Zend Debugger,其README.txt說明了不同版本不同OS的安裝設定方式:
Download link:http://downloads.zend.com/pdt/server-debugger/
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.
在安裝Debugger之前,phpinfo所Show出的Information
成功安裝Zend Debugger之後,phpinfo所Show出的Information
更完整的資訊可以參考下列URL:
http://wwolf.blog.com/2010/10/01/phpdebug/
http://ckfree.blog.hexun.com/30612765_d.html