1. Extract the Zend Debugger package.
2. Locate the ZendDebugger.so (Unix) or ZendDebugger.dll (Windows) file in the directory which
corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x).
2. Add the following line to your php.ini file:
Linux and Mac OS X: zend_extension=(*) The Windows non-thread safe binary is only used with Zend Core 2.0.
Windows: zend_extension_ts=
Windows non-thread safe: zend_extension=
3. Add the following lines to your php.ini file:
zend_debugger.allow_hosts=(*) hopst_ip_addresses are the IPs of the hosts which will be allowed to initiate debug sessions
zend_debugger.expose_remotely=always
4. Copy the dummy.php file to your document root directory.
5. Restart your Web server.
要注意ZendDebugger.dll的版本,不然就算路徑正確,PHP也抓不到
php.ini添加以下內容
zend_extension_ts="完整路徑(一定要填路徑)\ZendDebugger.dll"
zend_debugger.allow_hosts=localhost
zend_debugger.expose_remotely=always
http://www.ibm.com/developerworks/library/i-osource13/index.html
eclipse設定
設定PHP執行檔路徑與設定檔路徑


沒有留言:
張貼留言