2012-11-10 61 views
0

我試圖在我的xampp上運行php 5.4.4上安裝xdebug,花了幾個小時後,仍然無法安裝它!無法在php 5.4.4上安裝Xdebug

這是我在php.ini中設置

zend_extension = "Z:\xampp\php\ext\php_xdebug-2.2.1-5.4-vc9-x86_64.dll" 
xdebug.remote_mode = "req" 
xdebug.remote_enable=1 
xdebug.remote_host="localhost" 
xdebug.remote_port=9000 
xdebug.remote_handler="dbgp" 
xdebug.profiler_enable=1 
xdebug.profiler_output_dir="Z:\xampp\tmp" 

任何人都可以發現任何錯誤?

感謝

+0

實際的問題是什麼?任何錯誤消息? – arkascha

+0

xdebug二進制文件必須與您的PHP二進制文件兼容(相同的編譯器,相同位數)。服務器啓動時檢查你的apache錯誤日誌中的消息。 – Jon

+0

@arkascha在使用Netsbean進行調試時,錯誤消息是:xbebug未安裝或未正確配置 –

回答

5

請參照嚮導在http://xdebug.org/wizard.php - 它會告訴你做哪些設置完全相同,並且二進制下載。

+0

這個網站是非常棒的,但是,它仍然沒有'對我來說:((。 我想知道的是我應該把這些值,如:「localhost」,「Z:\ xampp \ tmp」等在雙引號或不! –

0

我有同樣的問題,無法運行與xampp xdebug和使用IDE netbeans,我做了什麼: - 下載指示爲我的PHP版本VC9 TS的版本! (它需要TS) -edited在php.ini行這樣:

[XDebug] 
zend_extension="c:\xampp\php\ext\php_xdebug.dll" 
xdebug.remote_enable=1 
xdebug.remote_host="127.0.0.1" 
xdebug.remote_port=9000 
xdebug.remote_handler="dbgp" 

,就是這樣,希望它幫助。 歡呼聲