我剛安裝了xDebug,它似乎可以工作,但我只是在我的頁面上輸出純文本輸出。 我該如何獲得xDebug的html輸出?xDebug不顯示HTML輸出(Mac OSX Lion)
我的php.ini有html_erros ON,我的機器是Mac OSX獅子。
zendServer;
Zend Data Cache | Off
Zend Debugger | Off
php.ini lines;
; html_errors
; Default Value: On
; Development Value: On
; Production value: On
; zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.show_local_vars=On
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20
Phpinfo()不正確;
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Zend Extension Manager v5.1, Copyright (c) 2003-2010, by Zend Technologies
- with Zend Data Cache v4.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [disabled]
- with Zend Java Bridge v3.1, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled]
- with Zend Utils v1.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled]
問候, 尼基
您是否將此內容添加到php.ini中?zend_extension =「\ path \ to \ php_xdebug.dll」 – hungneox
我在php.ini中添加了以下行(請參閱編輯) – directory