【发布时间】:2014-09-13 14:32:39
【问题描述】:
每当我启用 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.profiler_enable = 0 -
@andrzej1_1 谢谢!这解决了缓慢的解决问题,并使我能够保持 Xdebug 以我想要的方式运行。
-
@andrzej1_1 也为我工作。一直在到处寻找解决此问题的方法。谢谢。
标签: phpmyadmin xampp xdebug