2011-01-11 46 views
0

我使用WAMP SERVER 2.1並選擇PHP 5.3.3爲我的系統,所以我選擇xDebug與php_xdebug-2.1.0-5.3-vc6.dll和更改名稱變成php_xdebug.dll容易使用方法。無法安裝與WAMP服務器xdebug 2.1

繼說明:php.ini文件(在Apache的文件夾)

extension=php_xdebug.dll 
... 
zend_extension = "C:/wamp/bin/php/php5.3.3/ext/php_xdebug.dll" 
xdebug.remote_enable=on 
xdebug.remote_handler=dbgp 
xdebug.remote_host=localhost 
xdebug.remote_port=9000 
xdebug.idekey="netbeans-xdebug" 

然而,什麼都不會發生,沒有從的phpinfo到XDebug的相關信息。另外xdebug宣佈xdebug尚未安裝(http://xdebug.org/find-binary.php)。

我很擔心會造成太多配置時間。我瘋了,完全放棄放棄。 任何人有想法來解決它,我非常感謝你幫助我。

謝謝

回答

0

您是否重新啓動了Apache服務器?我相信在WAMP的菜單中,應該有一個選項來重啓服務器。

+0

是的,每次我修改任何東西,然後我也重新啓動WAMP。正如我所說,沒有任何事情發生 – 2011-01-11 06:01:08

0

我認爲XDebug能夠正確加載,它需要以下代碼行之一。任何時候我使用this site的設置,XDebug都沒有加載。下面的php.ini片段是我所有開發系統上的配置。

[XDebug] 
;; Only Zend OR (!) XDebug 
; Modify the filename below to reflect the .dll version of your xdebug 
zend_extension="C:\wamp\bin\php\php5.3.6\ext\php_xdebug-2.1.1-5.3-vc9.dll" 
xdebug.remote_enable=1 
xdebug.remote_host=localhost ; if debugging on remote server, 
          ; put client IP here 
xdebug.remote_port=9000 
xdebug.remote_handler="dbgp" 
xdebug.profiler_enable=1 
xdebug.profiler_output_dir="C:\wamp\tmp" 
xdebug.profiler_enable_trigger = 0 
xdebug.profiler_output_name = "xdebug_profile.%R::%u" 
xdebug.trace_output_dir = "C:\wamp\tmp" 

還要檢查this website,以確保你有適當的XDebug DLL。我曾經有一個在vc6系統上使用vc9 dll的問題。