HoneyMoose
  • 首页
  • Java
  • Jersey
  • Jira
  • Confluence
  • U.S.
    • USRealEstate
    • USVisaTrack
    • H1B
  • 项目和网站
    • CWIKI.US
    • OSSEZ 社区
    • WIKI.OSSEZ.COM
    • BUG.OSSEZ.COM
    • RSS.OSSEZ.COM
BLOG.OSSEZ.COM
A responsive blog theme focused om user reading experience
  1. Home
  2. Computer Science
  3. This article

IntelliJ IDEA 在校验 PHP Debug 配置的时候提示 Xdebug 扩展没有载入

2022年05月01日 502Browse 0Like 0Comments

出现的错误信息如下图显示的:

 

php-xdebug-install-01

 

原因和问题解决

上面问题的主要原因是 Xdebug 扩展没有在你的 PHP 环境中进行配置。

找到 php.ini 文件,然后添加下面的内容。

[XDebug]
zend_extension = "php_xdebug.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "/xampp/tmp"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "/xampp/tmp/xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "/xampp/tmp"
xdebug.remote_cookie_expire_time = 36000

上面的内容为你添加到本地 php.ini 中的。

完成添加后,重启 xampp 服务器。

 

php-xdebug-install-02

 

然后访问本地的 http://localhost/dashboard/phpinfo.php 的链接,如果你能够看到有关 Xdebug 的内容的话,则说明已经配置成功了。

 

php-xdebug-install-04

 

然后再重新校验。

如果你能看到下面的界面,则说明配置已经完成了。

 

php-xdebug-install-05

 

显示调试的配置已经完成了。

https://www.ossez.com/t/intellij-idea-php-debug-xdebug/13889

 

Tags: None
Last updated:2022年05月01日

Kratos

stay absorbed stay excellent

Like
< Previous
Next >

Comments

Cancel reply

Newest Hotspots Random
Newest Hotspots Random
IntelliJ IDEA 2023.1 版本添加了包中类的列表功能 Jenkins 修改启动的端口 Spring 项目运行提示错误 Not a managed type Linux 查看 SELinux 的状态 WordPress 网站 Error Establishing a Database Connection(建立数据库连接时出错) Linux 开启或关闭 SELinux
Spring Boot 2.4 部署你的第一个 Spring Boot 应用需要的环境 民族融合的湘南典范芬香村 - 历史沿革 Python 学习一定用pycharm吗 New York Times and New Yorker Share Pulitzer for Public Service Java 8 开始新增的 Optional 类 - 检查 Optional 的值 Druid 加载 Kafka 流数据 KafkaSupervisorIOConfig 配置信息表
Categories
  • Algorithm(算法)
  • AMQP
  • Angular
  • CI
  • Compile And CI
  • Computer Science
  • Confluence
  • DataBase
  • Gradle
  • H1B
  • Hibernate
  • IDE
  • Java
  • Jersey
  • Jira
  • MariaDB
  • PrestaShop
  • Spring
  • Spring Batch
  • U.S.
  • USRealEstate
  • USVisaTrack
  • 我的小厨

COPYRIGHT © 2020 HoneyMoose. ALL RIGHTS RESERVED.

THEME CWIKIUS.CN MADE BY VTROIS