You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

PHP 8.1 FPM环境下无法启用Xdebug步进调试求助

PHP 8.1升级后Xdebug步进调试无法启用问题

刚在Plesk中将PHP版本从7.4升级到8.1,之后Xdebug步进调试功能无法启用,不清楚遗漏了哪些配置。此前PHP 7.4环境下该功能可正常使用,但因版本过旧进行了升级。

我的php.ini中Xdebug相关配置如下:

[XDebug]
xdebug.mode=debug
xdebug.client_host = 127.0.0.1
xdebug.client_port = 9003
xdebug.start_with_request=yes
xdebug.log="/var/log/nginx/xdebug.log"
xdebug.idekey = PHPSTORM
xdebug.discover_client_host=false

phpinfo中Xdebug部分设置截图:
Xdebug phpinfo设置截图

内容的提问来源于stack exchange,提问作者user1110938

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.23 18:52:05