每当我使用以下标准设置启用 xdebug 来调试我的 php 项目时,它会减慢 phpmyadmin 的每一个操作。仅打开 phpmyadmin 就需要近 10 秒。
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = on
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.remote_port = 9000
编辑: 反复试验...这解决了问题
xdebug.remote_host = localhost
最佳答案
如果 xdebug.remote_autostart 已启用,请使用以下命令禁用它
xdebug.remote_autostart = 0
帮我解决了这个问题。
关于phpmyadmin - 在 XAMPP 中启用 XDebug 会减慢 phpmyadmin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24893010/