在php中會有2種擴展php
通常的mysql都屬於extension 而 像xdebug倒是zend_extensionhtml
錯誤提示mysql
NOTICE: PHP message: PHP Warning: Xdebug MUST be loaded as a Zend extensionsql
分析:spa
mysql擴展配置以下debug
extension=mysql.so 便可htm
xdebug 擴展以下 注意要添加紅色的路徑 不然就會出錯io
而且還有開啓html_errors=onmodule
[Xdebug]擴展
zend_extension = /usr/lib64/php/modules/xdebug.so
xdebug.auto_trace = on
xdebug.auto_profile = on
xdebug.collect_params = on
xdebug.collect_return = on
xdebug.profiler_enable = on
xdebug.trace_output_dir = "/tmp"
xdebug.profiler_output_dir = "/tmp"
xdebug.dump.GET = *
xdebug.dump.POST = *
xdebug.dump.COOKIE = *
xdebug.dump.SESSION = *
xdebug.var_display_max_data = 4056