Zendstudio9 配置安裝 zend debuggerphp
1. 解壓ZendDebugger-5.2.14-cygwin_nt-i386.zipweb
2. 如下是壓縮包內全部文件的列表:
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.txtapache
3. 根據你的php版本選擇相應的文件 個人php是5.2.6 因此我選擇ZendDebugger-5.2.14RC9-cygwin_nt-i386/5_2_x_nts_comp,將此文件夾放入到你的D://Wamp文件夾裏面(爲了方便管理,個人server服務都是裝着文件裏面的),全路徑爲D://Wamp/ZendDebugger/5_2_x/ZendDebugger.dllspa
4. 將壓縮包中的dummy.php解壓到web根目錄,我這裏的apache的DocumentRoot設置在D:/Wamp/apache/htdoc和D:/www,就拷貝dummy.php到D:/Wamp/apache/htdocs和D:/www,而後修改php.ini,加入了這些內容:debug
zend_extension_ts=D:/myserver/ZendDebugger/5_2_x/ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.88/24
zend_debugger.expose_remotely=always調試
5. 而後重啓apache,在略微的等待以後,咱們輸入phpinfo()查當作功與否?orm
出現這個圖的爲成功server
6,使用設置
爲了使用Zend Debugger,咱們首先須要打開Zend Studio,對Zend Studio的Debug配置選項進行設置,步驟以下:對你的項目點擊右鍵->Properties,選擇左側PHP Debug選項xml
除了上述的設置方式,Zend Studio Debug還有另外一種設置方式,主要針對的是單個調試文件,方法以下,選擇菜單欄中的Run->Debug Configurations ,選擇PHP Web Page Debug調試方式下的調試頁面,右側Server面板中選擇Zend Debugger,你能夠點擊Test Debugger,若是Zend Debugger安裝成功,其會彈出Test Debuger Server Success對話框,即宣告Zend Debug Server鏈接成功ip
7使用
選擇菜單欄RUN中的Debug AS或Debug URL進行調試,Zend Studio中Zend Debugger的調試界面和Xdebug相似,一樣能夠經過F11啓動調試會話,F5(單步調試),設置斷點等。