这是我的设置:
从本地环境调试/开发
IDE: PhpStorm 10
url for setting up my PhpStorm debugging: https://blog.jetbrains.com/phpstorm/2011/03/configure-php-debugging-in-phpstorm-2-0/
PHP interpreter version (local copy): 5.6
远程AWSEC2-Linux设置:
xdebug for php56-devel
I used this SO answer for my xdebug setup: https:
我正在迁移一个用PHP编写的非常古老和遗留的系统。目前我已经取得了良好的进展,然而,代码使用了一个名为PHPLot的库,其中它依赖于php-gd。
我什么都做了..。我已经尝试安装这个依赖3天了。你能帮帮我吗?
这是我的Dockerfile:
FROM httpd:2.2
MAINTAINER Marcus Campos <campos.v.marcus@gmail.com>
ENV HTTPD_CONF $HTTPD_PREFIX/conf/httpd.conf
ENV PHP_INI /usr/local/lib/php.ini
ENV HOME /root
RUN us
我试图在Fedora 31中的崇高文本3中使用Xdebug,但是当我开始调试时,我得到了以下错误:
Unable to start Xdebug debugging session.
Errno 13 Permission Denied
我安装了xdebug作为先决条件,这也出现在phpinfo中。这是输出:
This program makes use of the Zend Scripting Language Engine: Zend Engine v3.3.13, Copyright (c) 1998-2018 Zend Technologies
with Xdebug v2
我正在尝试使用来运行apache停靠容器。我的uni提供了码头映像,从上游的图像配置为我们的课程使用码头-合成。
容器可以正常工作,但我无法让它的Xdebug连接到我的PhpStorm。
这就是它在Xdebug日志中所说的:
Creating socket for 'host.docker.internal:9003', poll success, but error: Operation now in progress (29).
这绝对没告诉我什么。
诚然,设置非常复杂(x86 Apache通过Linux中的Linux中的quite运行,在macOS上运行),但是我可以从任
我安装了Eclipse PDT和Xdebug,并安装了XAMPP。虽然网络上有各种各样的解决方案,但我找不到解决问题的办法。
下面是我的XAMPP中的phpinfo(),它显示了安装了xdebug:
xdebug
xdebug support enabled
Version 2.2.6
IDE Key XDEBUG_ECLIPSE
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $
Directive Local Value Master Value
xdebug.auto_
我在网上搜索并关注了他们所有的人。它仍然不起作用。xdebug可以在脚本文件上运行,但不能在web应用程序上运行,并且xdebug.log为空。
phpinfor():
xdebug support enabled
version 2.2.3
ide key 11047
我开始监听PHP调试连接。
在我设置XDEBUG_SESSION_START之前,它就起作用了。
这是我的xdebug.log文件:
Log opened at 2016-03-30 19:13:03
I: Connecting to conf