启用MAMP后启用xdebug.profiler_aggregate时的ERR_EMPTY_RESPONSE

时间:2018-02-05 17:40:34

标签: php mamp xdebug xdebug-profiler

当我设置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 

任何人都知道如何解决这个问题?

0 个答案:

没有答案