当我设置xdebug.profiler_aggregate=1
然后 localhost 不再起作用并在 Chrome 中给出 ERR_EMPTY_RESPONSE (Safari 和 Firefox 也不起作用)。设置xdebug.profiler_aggregate=0
一切正常。
禁用 xdebug.profiler_aggregate 的工作 php.ini 文件:
[xdebug]
zend_extension="/Applications/MAMP/bin/php/php7.1.12/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_handler="dbgp"
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.profiler_aggregate=0
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/Applications/MAMP/tmp"
;xdebug.default_enable=1
display_errors = on
display_startup_errors = on
track_errors = on
xmlrpc_errors = on
xdebug.force_display_errors = on
xdebug.show_error_trace = on
有人知道如何解决这个问题吗?