分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 软件开发

PHP如何下载对应的XDebug版本

发布时间:2023-09-06 02:20责任编辑:赖小花关键词:PHP

Xdebug安装地址 https://xdebug.org/download.php

进入下载页面后点击 custom installation instructions

复制phpinfo整个网页内容(Command+A),粘贴到文本框中

提交后,会显示适合安装的Xdebug版本

对PHP的php.ini文件,进行配置

在尾部添加以下代码,去掉#号,并修改正确参数

[xdebug]#zend_extension = C:\AppServ\php7\ext\php_xdebug-2.6.1-7.1-vc14.dll#xdebug.profiler_enable = off#xdebug.profiler_enable_trigger = off#xdebug.profiler_output_name = cachegrind.out.%t.%p#xdebug.profiler_output_dir = "c:/AppServ/xdebug_temp"#xdebug.remote_enable=1#xdebug.remote_host=127.0.0.1#xdebug.remote_port=9000#xdebug.remote_handler=dbgp

最后重启WEB服务器,本机是Apache

PHP如何下载对应的XDebug版本

原文地址:https://www.cnblogs.com/zhuyongzhe/p/9887133.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved